ref($days[$dayCount]->appts) eq 'ARRAY';