code: def is_bool(checker, instance):
      return isinstance(instance, bool)
  
file_path: catboost/contrib/python/jsonschema/py2/jsonschema/_types.py
imports: import numbers
  from pyrsistent import pmap
  import attr
  from jsonschema.compat import int_types, str_types
  from jsonschema.exceptions import UndefinedTypeCheck
label_desc: Use image node_id 2 for calling a global function with example usage: is_bool(checker, instance) and returns: isinstance