code: def isrecursive(object):
      """Determine if object requires a recursive representation."""
      return PrettyPrinter()._safe_repr(object, {}, None, 0)[2]
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 6 for calling a global function with example usage: isrecursive(object) and returns: PrettyPrinter