code: def _check_valid_basic(self, get_params):
          
          try:
              if get_params(self.variable):
                  return self.default
          except:  # noqa e722
              pass
          return not self.default
docs: Simple check that the variable is set