def METHOD_NAME(self):
    # For each group, check the group membership of the identified device
    for GrpId in self.ListOfGroups:
        for NwkId, Ep, Ieee in self.ListOfGroups[GrpId]["Devices"]:
            check_group_member_ship(self, NwkId, Ep, GrpId)