code: def b_(string):
      if not hasattr(string, "encode"):
          return string
      if not string.endswith("]{B}"):
          return string.encode("latin-1")
      return bytes(eval(string[:-3]))
  
file_path: ppft/ppft/common.py
imports: import threading
  import io
label_desc: Use image node_id 2 for calling a global function with example usage: b_(string) and returns: bytes, string, string