code: def _resolve_children(self, ldap_user, groups):
          
          for child in self.children:
              if isinstance(child, LDAPGroupQuery):
                  yield child.resolve(ldap_user, groups)
              else:
                  yield groups.is_member_of(child)
docs: Generates the query result for each child.