getEntity()->isLoaded() ) { $this->pushErrorMessage('lean.api.form.delete.error.entity'); } return parent::valid(); } }