code: def bitRepr(value, bits):
      s = ""
      for i in range(bits):
          s = "01"[value & 0x1] + s
          value = value >> 1
      return s
  
imports: from __future__ import annotations
  from fontTools.misc.textTools import num2binary, binary2num, readHex, strjoin
  import array
  from io import StringIO
  from typing import List
  import re
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: bitRepr(value, bits) and returns: s