Check a path is set