public static boolean hasChildOtherThanP(NamedDescription parent, NamedDescription child) {
    { LogicObject c = null;
      edu.isi.powerloom.PlIterator iter000 = edu.isi.powerloom.PLI.getDirectSubrelations(parent, null, null);

      while (iter000.nextP()) {
        c = ((LogicObject)(iter000.value));
        if (!(c == child)) {
          return (true);
        }
      }
    }
    return (false);
  }