private function wantToAdd($attribute, array $properties): bool
    {
        return ($attribute instanceof Checkbox)
            && (($attribute->get('check_publish') === '1') || ($attribute->get('check_listview') === '1'))
            && (\in_array($attribute->getColName(), $properties, true));
    }