Check array is not empty