code: def simple( child, shared, parent ):
      
      return (
          not child.get('refs',())
          and (
              not shared.get(child['address'])
          or 
              shared.get(child['address']) == [parent['address']]
          )
      )
docs: Return sub-set of children who are "simple" in the sense of group_children