public function isRowEmpty(Row $row) { foreach ($this->getColumns() as $column) { if ($column->isRowIndexOccupied($row->getIndex())) { return false; } } return true; }