code: def bin2int(bits):
      "From binary bits, msb at index 0 to integer"
      i = 0
      for bit in bits:
          i = i * 2 + bit
      return i
  
label_desc: Use image node_id 4 for calling a global function with example usage: bin2int(bits) and returns: i