code: def complement(fn):
      """Return fn that outputs the opposite truth values of the
      input function
      """
  
      @wraps(fn)
      def wrapper(*args, **kwargs):
          return not fn(*args, **kwargs)
  
      return wrapper
  
imports: from functools import wraps
label_desc: Use image node_id 4 for calling a global function with example usage: complement(fn) and returns: wrapper, unknown