src/DcGeneral/DataDefinition/Palette/Condition/Property/ConditionTableNameIsMetaModel.php
public function match(
        ModelInterface $model = null,
        PropertyValueBag $input = null,
        PropertyInterface $property = null,
        LegendInterface $legend = null
    ) {
        $propertyName = $this->getTablePropertyName();
        if ($input && $input->hasPropertyValue($propertyName)) {
            $value = $input->getPropertyValue($propertyName);
        } elseif ($model) {
            $value = $model->getProperty($propertyName);
        } else {
            return false;
        }

        return $this->desiredValue == (substr($value, 0, 3) === 'mm_');
    }
public function match(
        ModelInterface $model = null,
        PropertyValueBag $input = null,
        PropertyInterface $property = null,
        LegendInterface $legend = null
    ) {
        $propertyName = $this->getTablePropertyName();
        if ($input && $input->hasPropertyValue($propertyName)) {
            $value = $input->getPropertyValue($propertyName);
        } elseif ($model) {
            $value = $model->getProperty($propertyName);
        } else {
            return false;
        }

        return $this->desiredValue == (substr($value, 0, 3) === 'mm_');
    }
{@inheritdoc}