結果 : check if has method python