code: def bool_values(_):
      """Return the range of a boolean value, i.e. [0, 1]."""
      return Interval(0, 1)
  
imports: from math import isinf, isnan
  import itertools
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: bool_values(_) and returns: Interval