def is_available(self, key):
        """ Returns whether the requested resource is available. """
        return self._resource_by_key in key
dataset/ETHPy150Open foundit/Piped/piped/dependencies.py/DependencyMap.is_available/swapped operands of `in`