Return false if array is undefined