turtle.isfile()

turtle.isfile(path)[source]

Test whether a path is a regular file