code: def get_options_values(self, hidden=False):
          
          values = {}
          for opt_name, opt in self._options.items():
              if hidden or not opt.hidden:
                  values[opt_name] = opt.value
          return values
docs: return a dictionary of options values
          
          :param hidden: whether to return hidden options
          :type hidden: bool
          :returns: dictionary of all option values
          :rtype: dict