Not sure if this is intended or not.
I was trying to if path_exists(foo) { a } else { b } or path_exists(foo) && a || b
It wasn't working, I was getting a syntax error. if path_exists(foo) == true also failed. I had to change to path_exists(foo) == 'true'
Is it worth mentioning in the readme that it returns a string, not a boolean? And the caveat with short-circuit logic, since if it returns false, that's not an empty string, won't short-circuit with && or ||.