Returns true if the forecast object is of a particular type
is.forecast(x) is.mforecast(x) is.splineforecast(x)
x
object to be tested