doesFileExist package:easy-file

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