code: def check_if_not(x, *checks, **params):
      
      for p in params:
          if params[p] is not x and params[p] != x:
              [check(**{p: params[p]}) for check in checks]
docs: Run checks only if parameters are not equal to a specified value
  
      Parameters
      ----------
  
      x : excepted value
          Checks not run if parameters equal x
  
      checks : function
          Unnamed arguments, check functions to be run
  
      params : object
          Named arguments, parameters to be checked
  
      Raises
      ------
      ValueError : unacceptable choice of parameters