human
Complete the below
def fake_paths_lookup(path_dict):

    ''''Usage:
    >>> paths = {\'my.txt\': True, \'no.txt\': False}
    >>> with fake_paths_lookup(paths):
    ...     assert os.path.exists(\'my.txt\') == True
    ...     assert os.path.exists(\'no.txt\') == False'
    '''

Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def check(path):
        return path_dict.get(path, None)
    return fake_paths(check)