結果 : python check if class contains method