code: def test_escaped(value):
      """Check if the value is escaped."""
      return hasattr(value, "__html__")
  
imports: import decimal
  import operator
  import re
  from ._compat import abc
  from ._compat import integer_types
  from ._compat import string_types
  from ._compat import text_type
  from .runtime import Undefined
label_desc: Use image node_id 20 for calling a global function with example usage: test_escaped(value) and returns: hasattr