Check for empty array.