Isfile returns false on symlink (Windows)

See title. Is this expected?
I am on Windows 10

If there is already a symlink and I want to overwrite it, symlink errors.
But isfile returns false on the symlink.
Is there any way I can determine if it exists?

You’re probably looking for ispath, with the distinction being that path specifies anything at its location, but a file specifies a “regular” file.