Returns whether an object represents a Type.
@protected bool isType(DartObject o) => o.toTypeValue() != null;