returns TRUE if object has predict function

has.predict(object)

Arguments

object

The object to check.