code: def check_for_bool(p: str) -> bool:
      if check_false(p):
          return False
      elif check_true(p):
          return True
      else:
          raise ValueError("%s is not a bool" % str(p))
  
file_path: auto-sklearn/autosklearn/util/common.py
imports: import os
  import warnings
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: check_for_bool(p) and returns: False, True