結果 : python how to check if function exists