code: def set_value_for_key(self, key, value):
          
          if key in self.options:
              self.options[key]['value'] = value
docs: Set the value of key to value.
  
          :param key: The key.
          :type key: str
  
          :param value: The value to be assigned.
          :type value: list, float, int