def has_applicable_batch_data(self, namespace, nid):
        has_applicable_batch_data = False

        matches = ProviderBatchData.query.filter_by(provider="pmc").all()
        for provider_batch_data_obj in matches:
            if provider_batch_data_obj.aliases[namespace] in nid:
                has_applicable_batch_data = True

        return has_applicable_batch_data
dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/providers/pmc.py/Pmc.has_applicable_batch_data/swapped operands of `in`