def _entity_exists(self, entity_type, key,
                       value, chef_api):  # pragma: no cover
        result = chef.Search(entity_type, (key, value) % '%s:%s',
                             1, 0, chef_api)
        return len(result) == 1

    # README(shep): not executed on the server, skipping from code coverage
dataset/ETHPy150Open rcbops/opencenter/opencenter/backends/chef-client/__init__.py/ChefClientBackend._entity_exists/swapped operands of `%`