code: def clear_conditions(self, *conkeys, **noclear):
          
  
          offenders = set(conkeys) - set(self.conconf.conditions.keys())
          if offenders:
              raise KeyError(', '.join([off for off in offenders]))
  
          # Valid keywords subtracted
          offenders = set(noclear) - set({'noclear'})
          if offenders:
              raise KeyError(', '.join([off for off in offenders]))
  
          noclear = noclear.get('noclear', False)
  
          for ck in self.conconf.conditions:
              if not conkeys:
                  # self.conconf.set_condition(ck, None)
                  self.conconf.reset()
                  break
              elif not noclear and ck in conkeys:
                  self.conconf.set_condition(ck, None)
              elif noclear and ck not in conkeys:
                  self.conconf.set_condition(ck, None)
  
          if not self.no_auto:
              self.make_mask()
docs: Clear conditions.
  
          Clear only the conditions conkeys if specified. Clear only the
          conditions not specified by conkeys if noclear is True (False
          default).
  
          .. note::
             Updates the mask if not no_auto.