Determines if the given this is the variant type.
type to check
true if this is the variant type Since 2.24