結果 : python test if function was called