code: def is_bool(x):
      return x.dtype is _torch.bool
  
file_path: geomstats/geomstats/_backend/pytorch/_dtype.py
imports: import functools
  import torch
  from torch import complex64, complex128, float32, float64
  from geomstats._backend import _backend_config
  from geomstats._backend._dtype_utils import _MAP_FLOAT_TO_COMPLEX, _modify_func_default_dtype, _pre_add_default_dtype_by_casting, _pre_allow_complex_dtype, _pre_cast_out_to_input_dtype, _update_default_dtypes, get_default_cdtype, get_default_dtype
  from ._common import cast
label_desc: Use image node_id 3 for calling a global function with example usage: is_bool(x) and returns: unknown