code: function (key) {
              var self = this, _queryMap;
              parseQuery(self);
              _queryMap = self._queryMap;
              if (key) {
                  return key in _queryMap;
              } else {
                  return !S.isEmptyObject(_queryMap);
              }
          }
docs: judge whether has query parameter
  @param {String} [key]