check if the given path is readable