class_docstr: Thread-safe kevent descriptor collection.
class_docstr_tok: ["Thread-safe","kevent","descriptor","collection","."]
docstr: Determines whether a :class:`KeventDescriptor has been registered
  for the specified path.
  
  :param path:
      Path for which the descriptor will be obtained.
docstr_tok: ["Determines","whether","a",":","class",":","`","KeventDescriptor","has","been","registered","for","the","specified","path",".",":","param","path",":","Path","for","which","the","descriptor","will","be","obtained","."]
code: def __contains__(self, path):
      """
      Determines whether a :class:`KeventDescriptor has been registered
      for the specified path.
  
      :param path:
          Path for which the descriptor will be obtained.
      """
      with self._lock:
          path = absolute_path(path)
          return self._has_path(path)
  
imports: from __future__ import with_statement
  from wandb_watchdog.utils import platform
  import threading
  import errno
  import sys
  import stat
  import os
  from wandb_watchdog.observers.api import BaseObserver, EventEmitter, DEFAULT_OBSERVER_TIMEOUT, DEFAULT_EMITTER_TIMEOUT
  from wandb_watchdog.utils.dirsnapshot import DirectorySnapshot
  from wandb_watchdog.events import DirMovedEvent, DirDeletedEvent, DirCreatedEvent, DirModifiedEvent, FileMovedEvent, FileDeletedEvent, FileCreatedEvent, FileModifiedEvent, EVENT_TYPE_MOVED, EVENT_TYPE_DELETED, EVENT_TYPE_CREATED
label_desc: Use image node_id 6 for calling the KeventDescriptorSet obj's underlying member method code with example usage: obj.__contains__(path) and returns: self