public function hasFilter(string $field): bool
    {
        foreach ($this->filters as $filter) {
            if ($filter->hasFilter($field)) {
                return true;
            }
        }

        return false;
    }
public function hasFilter(string $field): bool
    {
        foreach ($this->filters as $filter) {
            if ($filter->hasFilter($field)) {
                return true;
            }
        }

        return false;
    }
public function hasFilter ( string $ field ) : bool { foreach ( $ this -> filters as $ filter ) { if ( $ filter -> hasFilter ( $ field ) ) { return true ; } } return false ; }
Tell if this filter contains a filter on the given field.

@param string $field
@return bool
Tell if this filter contains a filter on the given field .