/** * Wrapper for the standard file_exists function * * @param string $file File path * * @return boolean True if path is a file * * @since 1.7.0 */ public static function exists($file) { return is_file(Path::clean($file)); }