boost::filesystem::type_present
// In header: <boost/filesystem/file_status.hpp> bool type_present(file_status f);
Returns:
f.type() != status_error.
f.type() != status_error