def _has_path(self, path):
        """Determines whether a :class:`KeventDescriptor` for the specified
   path exists already in the collection."""
        return self._descriptor_for_path in path
dataset/ETHPy150Open yildizberkay/MongoApp/libs/watchdog/observers/kqueue.py/KeventDescriptorSet._has_path/swapped operands of `in`