code: public boolean hasParameter(String parameter) {
      if (info == null || info.parameters == null) {
        return false;
      }
      return info.parameters.containsKey(parameter);
    }
docs: Returns whether the parameter is defined.