src/ParsedExpression.php
public function hasFilter(string $name): bool
    {
        $filter = $this->exp->node;

        while ($filter instanceof Filter) {
            if ($filter->name == $name) {
                return true;
            }

            $filter = $filter->input;
        }

        return false;
    }
public function hasFilter(string $name): bool
    {
        $filter = $this->exp->node;

        while ($filter instanceof Filter) {
            if ($filter->name == $name) {
                return true;
            }

            $filter = $filter->input;
        }

        return false;
    }
{@inheritdoc}