public static boolean namedTermP(Stella_Object term, AllPurposeIterator iter) {
    iter = iter;
    { Surrogate testValue000 = Stella_Object.safePrimaryType(term);

      if (Surrogate.subtypeOfP(testValue000, Logic.SGT_LOGIC_NAMED_DESCRIPTION)) {
        { NamedDescription term000 = ((NamedDescription)(term));

          return (!term000.deletedP());
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, Logic.SGT_LOGIC_DESCRIPTION)) {
        { Description term000 = ((Description)(term));

          return (false);
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, Logic.SGT_LOGIC_PATTERN_VARIABLE)) {
        { PatternVariable term000 = ((PatternVariable)(term));

          return (false);
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, Logic.SGT_LOGIC_LOGIC_OBJECT)) {
        { LogicObject term000 = ((LogicObject)(term));

          return (!term000.deletedP());
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, Logic.SGT_STELLA_THING)) {
        { Thing term000 = ((Thing)(term));

          return (!term000.deletedP());
        }
      }
      else {
        return (false);
      }
    }
  }