code: public function canVisit(Criterion $criterion)
      {
          return $criterion instanceof Criterion\Field && $criterion->operator === Operator::LIKE;
      }
docs: Check if visitor is applicable to current criterion.
  
  @param Criterion $criterion
  
  @return bool