Checks whether the
type
of this instance is set.
false if the type is null. Otherwise, it returns true.