doesFileExist package:LambdaHack

The operation doesFileExist returns True if the argument file exists and is not a directory, and False otherwise.