Function isType

Returns true if the type name passed is a valid type name