* @return LogicObject
   */
  public static LogicObject getRelation(Stella_Object instanceref) {
    { Stella_Object instance = Logic.coerceToInstanceInModule(instanceref, null, false, null);

      if (Logic.relationP(instance)) {
        return (((LogicObject)(instance)));
      }
      else {
        return (null);
      }
    }
  }