code: public function isIndex(): bool
      {
          return $this->isMethod('get') &&
              $this->getRoute()->isNotResource() &&
              $this->getRoute()->isNotProcesses();
      }
docs: Is this an index request?
  
  E.g. `GET /posts`
  
  @return bool