public function tryGetFirst($name, &$value): bool
    {
        try {
            $value = $this->get($name)[0];

            return true;
        } catch (OutOfBoundsException $ex) {
            return false;
        }
    }