The method signature for `getNodesForPath` says it should be a bool, so this should be fine.