code: def variable(self, name: str, default_value=None):
          
          return self.__variables.get(name, default_value)
docs: Safely returns the value of the variable given in PUM
  
          Parameters
          ----------
          name
              the name of the variable
          default_value
              the default value for the variable if it does not exist