bool hasSupertype

Source

bool get hasSupertype =>
    (supertype != null && supertype.element != package.objectElement);