R/utils.R
has.predict.Rd
returns TRUE if object has predict function
has.predict(object)
The object to check.