public function isModified()
    {
        if (count($this->removed_objects) > 0) {
            return true;
        }

        foreach ($this->objects as $name => $object) {
            if ($object->isModified()) {
                return true;
            }
        }

        return false;
    }