code: def IsSimpleGroup(component):
      """If a group is simple enough, then we treat it as a value in PrintResult.
  
      Only if a group contains all value types do we consider it simple enough to
      print as a value.
  
      Args:
        component: The group to check for value-group status.
      Returns:
        A boolean indicating if the group should be treated as a value for printing
        purposes.
      """
      assert isinstance(component, dict)
      for unused_key, value in component.items():
          if not IsValue(value) and not isinstance(value, (list, dict)):
              return False
      return True
  
file_path: python-fire/fire/value_types.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  from fire import inspectutils
  import six
label_desc: Use image node_id 4 for calling a global function with example usage: IsSimpleGroup(component) and returns: True, False