def METHOD_NAME(self, acl_group_ids, acl_table_id):
    atbl = swsscommon.Table(self.adb, "ASIC_STATE:SAI_OBJECT_TYPE_ACL_TABLE_GROUP_MEMBER")
    keys = atbl.getKeys()
    member_groups = []
    for k in keys:
        (status, fvs) = atbl.get(k)
        assert status == True
        assert len(fvs) == 3
        for fv in fvs:
            if fv[0] == "SAI_ACL_TABLE_GROUP_MEMBER_ATTR_ACL_TABLE_GROUP_ID":
                assert fv[1] in acl_group_ids
                member_groups.append(fv[1])
            elif fv[0] == "SAI_ACL_TABLE_GROUP_MEMBER_ATTR_ACL_TABLE_ID":
                assert fv[1] == acl_table_id
            elif fv[0] == "SAI_ACL_TABLE_GROUP_MEMBER_ATTR_PRIORITY":
                assert True
            else:
                assert False
    assert set(member_groups) == set(acl_group_ids)