containsPath

abstract fun containsPath(path: Path): Boolean(source)
open fun containsPath(path: String): Boolean(source)

Returns whether there exists at least one entry with a path matching path (following the semantics of path matching).