結果 : check if argument is function python