code: def ValidOptions(cls):
      
      valid_options = []
      for obj_name in dir(cls):
        obj = getattr(cls, obj_name)
        if inspect.isclass(obj) and issubclass(obj, cls.OptionBase):
          valid_options.append(obj_name)
      return valid_options
docs: Returns a list of valid option names.