code: def byteencode(self):
      if IS_PYTHON3:
          return _bytes(self)
      else:
          # fake-recode the string to make it a plain bytes object
          return self.decode("ISO-8859-1").encode("ISO-8859-1")
  
imports: from __future__ import absolute_import
  import re
  import sys
label_desc: Use image node_id 2 for calling the BytesLiteral obj's underlying member method code with example usage: obj.byteencode() and returns: _bytes, self