<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_option(self, name, default=None):
 """ 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. """

        if self.options is None:
            return default
        return self.options.get(name, default)