code: def _FilterBool(v):
      if isinstance(v, (list, tuple)):
          return _FirstNotNone([_FilterBool(x) for x in v])
      return None if isinstance(v, bool) else _NotNone(v)
  
imports: import numpy
  from tensorboard.compat.proto import tensor_pb2
  from tensorboard.compat.tensorflow_stub import dtypes, compat, tensor_shape
label_desc: Use image node_id 27 for calling a global function with example usage: _FilterBool(v) and returns: unknown, _FirstNotNone