* @return MethodSlot
   */
  public static MethodSlot lookupCommand(Symbol name) {
    { MethodSlot function = Symbol.lookupFunction(name);

      if ((function != null) &&
          MethodSlot.commandP(function)) {
        return (function);
      }
      else {
        return (null);
      }
    }
  }