結果 : how to check if function has an inverse