'Helper function that checks if the path is already monitored
and returns its watchdescriptor if so or None otherwise.
@param path: The path that should be checked
@type path: L{FilePath}'

def _isWatched(self, path):

    path = path.asBytesMode()
    return self._watchpaths.get(path, None)
