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