it is :-)
checking return value  might do, but I'm just a bit wary of its stability on windows (I know f.e. is_link() fails on junctions)