結果 : python check if function returns true or false