code: def print_tree(node, assumptions=True):
      """
      Prints a tree representation of "node".
  
      Parameters
      ==========
  
      asssumptions : bool, optional
          The flag to decide whether to print out all the assumption data
          (such as ``is_integer`, ``is_real``) associated with the
          expression or not.
  
          Enabling the flag makes the result verbose, and the printed
          result may not be determinisitic because of the randomness used
          in backtracing the assumptions.
  
      Examples
      ========
  
      >>> from sympy.printing import print_tree
      >>> from sympy import Symbol
      >>> x = Symbol('x', odd=True)
      >>> y = Symbol('y', even=True)
  
      Printing with full assumptions information:
  
      >>> print_tree(y**x)
      Pow: y**x
      +-Symbol: y
      | algebraic: True
      | commutative: True
      | complex: True
      | even: True
      | extended_real: True
      | finite: True
      | hermitian: True
      | imaginary: False
      | infinite: False
      | integer: True
      | irrational: False
      | noninteger: False
      | odd: False
      | rational: True
      | real: True
      | transcendental: False
      +-Symbol: x
        algebraic: True
        commutative: True
        complex: True
        even: False
        extended_nonzero: True
        extended_real: True
        finite: True
        hermitian: True
        imaginary: False
        infinite: False
        integer: True
        irrational: False
        noninteger: False
        nonzero: True
        odd: True
        rational: True
        real: True
        transcendental: False
        zero: False
  
      Hiding the assumptions:
  
      >>> print_tree(y**x, assumptions=False)
      Pow: y**x
      +-Symbol: y
      +-Symbol: x
  
      See Also
      ========
  
      tree
  
      """
      print(tree(node, assumptions=assumptions))
  
label_desc: Use image node_id 4 for calling a global function with example usage: print_tree(node, assumptions) without return types