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