結果 : how to check if type is array python