src/Viserio/Component/Translation/MessageCatalogue.php
public function has(string $id, string $domain = 'messages'): bool
    {
        if (isset($this->messages[$domain][$id])) {
            return true;
        }

        if ($this->fallbackCatalogue !== null) {
            return $this->fallbackCatalogue->has($id, $domain);
        }

        return false;
    }
public function has(string $id, string $domain = 'messages'): bool
    {
        if (isset($this->messages[$domain][$id])) {
            return true;
        }

        if ($this->fallbackCatalogue !== null) {
            return $this->fallbackCatalogue->has($id, $domain);
        }

        return false;
    }
{@inheritdoc}