code: def get_option(self, name, default=None):
          
          if self.options is None:
              return default
          return self.options.get(name, default)
docs: Returns the value of the given option if it is defined, returns
          the given default value otherwise.
  
          :type  name: str
          :param name: The option name.
          :type  default: object
          :param default: A default value.