isValidPath

Checks whether the given path is a valid path.