def check_role(self, role):
        self.check_entity(role)
        capabilities = role.service.capabilities
        for capability in role.content.capabilities:
            self.assertTrue(capabilities in capability)
dataset/ETHPy150Open splunk/splunk-sdk-python/tests/test_role.py/RoleTestCase.check_role/swapped operands of `in`