結果 : check if variable is none or numpy array