def METHOD_NAME(self, dvs, bind_ports):
    atbl = swsscommon.Table(self.adb, "ASIC_STATE:SAI_OBJECT_TYPE_ACL_TABLE_GROUP")
    acl_table_groups = atbl.getKeys()
    assert len(acl_table_groups) == len(bind_ports)
    atbl = swsscommon.Table(self.adb, "ASIC_STATE:SAI_OBJECT_TYPE_PORT")
    port_groups = []
    for p in [dvs.asicdb.portnamemap[portname] for portname in bind_ports]:
        (status, fvs) = atbl.get(p)
        for fv in fvs:
            if fv[0] == "SAI_PORT_ATTR_INGRESS_ACL":
                assert fv[1] in acl_table_groups
                port_groups.append(fv[1])
    assert len(port_groups) == len(bind_ports)
    assert set(port_groups) == set(acl_table_groups)