src/Viserio/Component/View/ViewFactory.php
public function exists(string $view): bool
    {
        try {
            $this->getFinder()->find($view);
        } catch (InvalidArgumentException $exception) {
            return false;
        }

        return true;
    }
public function exists(string $view): bool
    {
        try {
            $this->getFinder()->find($view);
        } catch (InvalidArgumentException $exception) {
            return false;
        }

        return true;
    }
{@inheritdoc}