code: public function isAllTokenKindsFound(array $tokenKinds)
      {
          foreach ($tokenKinds as $tokenKind) {
              if (empty($this->foundTokenKinds[$tokenKind])) {
                  return false;
              }
          }
  
          return true;
      }
docs: Check if all token kinds given as argument are found.
  
  @param array $tokenKinds
  
  @return bool