code: def _wrap_bool(data):
      if data.dtype == np.bool_:
          return f"where({{{data.key}}}, 1, 0)"
  
      return f"{{{data.key}}}"
  
imports: from collections import defaultdict
  from itertools import count
  import numpy
  from ..operands import TensorFuse
  from ..None import arithmetic, reduction
  from ..array_utils import as_same_device
  from .core import TensorFuseChunkMixin
label_desc: Use image node_id 5 for calling a global function with example usage: _wrap_bool(data) and returns: str, data, str, str, data, str