mutapath.Path.is_file

Path.is_file()[source]

Whether this path is a regular file (also True for symlinks pointing to regular files).