The Standard LibraryfsMethodsexistsOn this pageexistsCheck if a path exists. exists("path/to/anything"); Syntax exists(path) Returns A boolean indicating whether something exists at the path or not.