file_exists Method
Checks whether a vault item exists.
Syntax
def file_exists(file_name: str) -> bool: ...
Remarks
This method checks whether a vault item (file, directory, symbolic link, or alternate stream) with the specified FileName exists in the vault. If the specified vault item exists, this method returns True; otherwise it returns False.
The value passed for FileName must be a vault-local absolute path.
Note: This method can only be called when active is True.