CookieFP@tg says to YSITD
def your_function(a): return f(f(a)) == a and f(a) == a