code: def set_options(self, options):
          
          for key, val in options.items():
              key = key.lstrip('_')
              if hasattr(self, key):
                  setattr(self, key, val)
docs: Sets the given options as instance attributes (only
          if they are known).
  
          :parameters:
              options : Dict
                  All known instance attributes and more if the childclass
                  has defined them before this call.
  
          :rtype: None