code: public function isUpdateResource(): bool
      {
          return $this->isMethod('patch') &&
              $this->getRoute()->isResource() &&
              $this->getRoute()->isNotRelationship();
      }
docs: Is this an update resource request?
  
  E.g. `PATCH /posts/1`
  
  @return bool