isDescendant(of:)

Returns true if the path is a descendant of the given path.

AbsolutePath.swift:238
func isDescendant(of ancestor: AbsolutePath) -> Bool

This method is strictly syntactic and does not access the file system in any way.