docs: def get_options(silent=False, hook=True):
          """
          Generate a query string with the appropriate options.
  
          :param silent: If set to true, the object will not be bumped up in the stream and
                         notifications will not be generated.
          :type silent: bool
          :param hook: True if hooks should be executed for the change, false otherwise.
          :type hook: bool
          :return: The generated query string
          :rtype: str
          """
          options_ = {}
          if silent:
              options_['silent'] = silent
          if not hook:
              options_['hook'] = hook
          if options_:
              return '?' + urlencode(options_).lower()
          else:
              return ''