human
Can you show me a Python program to check if a file exists without permission.
assistant
Here is a Python program to check if a file exists without permission

import os

def check_file_exists(filename):
    """Checks if file exists without permission

    """
    if os.path.isfile(filename):
        return True
    else:
        return False

# Enter the file name
file_name = "/home/rosey/Desktop/file.txt"

# Calling the function
print((check_file_exists(file_name)))

#Example Output
# False

#Remember to inspect code for bugs.