code: def is_binary(value):
      r"""
      Return True if the value appears to be binary (that is, it's a byte
      string and isn't decodable).
  
      >>> is_binary(b'\xff')
      True
      >>> is_binary('\xff')
      False
      """
      return isinstance(value, bytes) and not is_decodable(value)
  
imports: import re
  import itertools
  import textwrap
  import functools
  from pkg_resources.extern.jaraco.functools import compose, method_cache
  from pkg_resources.extern.jaraco.context import ExceptionTrap
label_desc: Use image node_id 4 for calling a global function with example usage: is_binary(value) and returns: unknown