def rename_file_idempotent(source, destination):
    if os.path.isfile(source):
        os.rename(source, destination)
def rename_file_idempotent(source, destination):
    if os.path.isfile(source):
        os.rename(source, destination)