Additional check that $data has data.