結果 : python check if variable is array or none