public static boolean stellaClassP(Stella_Object x) {
    if (Stella.$CLASS_HIERARCHY_BOOTEDp$) {
      if (x != null) {
        { Stella_Class typeclass = ((Stella_Class)(x.primaryType().surrogateValue));

          return ((typeclass != null) &&
              Stella_Class.subclassOfP(typeclass, ((Stella_Class)(Stella.SGT_STELLA_CLASS.surrogateValue))));
        }
      }
      else {
        return (false);
      }
    }
    return (Stella_Object.bootstrapIsaP(x, Stella.SGT_STELLA_CLASS));
  }