'Determines whether a :class:`KeventDescriptor has been registered
for the specified path.
:param path:
Path for which the descriptor will be obtained.'

def __contains__(self, path):

    with self._lock:
        path = absolute_path(path)
        return self._has_path(path)
