public static boolean safeQuantityGreaterEqualP(Quantity q1, Stella_Object o2) {
    if ((q1 != null) &&
        (o2 != null)) {
      try {
        return (q1.greaterEqualP(o2));
      } catch (IncompatibleQuantityException e000) {
        return (false);
      }
    }
    else if (o2 != null) {
      return (false);
    }
    else {
      return (true);
    }
  }