public function hasPropertyKey($key)
    {
        /** @var \yii\db\ActiveRecord|\DevGroup\DataStructure\traits\PropertiesTrait $owner */
        $owner = $this->owner;
        $owner->ensurePropertiesAttributes();
        return in_array($key, $owner->propertiesAttributes);
    }