結果 : python check if variable is specific class