結果 : python function return only if true