Check if array is not empty.