public function doValidation(App $cdl): bool{
        $settings = $this->getTypeSettings();
        foreach ($settings['fields'] as $field) {
            if (!isset($field['validation'])) {
                continue;
            }
            foreach ($field['validation'] as $key => $validation) {
                $data = self::buildPluginData($key, $validation);
                if ($cdl->hasValidation($data['name'])) {
                    $validationObject = $cdl->getValidation($data['name']);
                    array_push($this->validations, new $validationObject($this, $field['name'], $data['attributes']));
                }
            }
        }
        $error = false;
        foreach ($this->validations as $validation) {
            /* @var Validation $validation */
            $error = $validation->doValidation() || $error;
        }
        return $error;
    }