code: public function isCandidate(Tokens $tokens)
      {
          $types = [];
  
          foreach (self::$loops as $loop) {
              $types[] = (array) $loop['lookupTokens'];
          }
          $types = array_merge(...$types);
  
          return $tokens->isAnyTokenKindsFound($types);
      }
docs: {@inheritdoc}