public function willSeeOne($request): bool
    {
        if ($this->route->isRelationship()) {
            return false;
        }

        if ($this->route->isResource()) {
            return true;
        }

        return $request->isMethod('POST');
    }
public function willSeeOne($request): bool
    {
        if ($this->route->isRelationship()) {
            return false;
        }

        if ($this->route->isResource()) {
            return true;
        }

        return $request->isMethod('POST');
    }
public function willSeeOne ( $ request ) : bool { if ( $ this -> route -> isRelationship ( ) ) { return false ; } if ( $ this -> route -> isResource ( ) ) { return true ; } return $ request -> isMethod ( 'POST' ) ; }
Will the response contain a specific resource?

E.g. for a `posts` resource, this is invoked on the following URLs:

- `POST /posts`
- `GET /posts/1`
- `PATCH /posts/1`
- `DELETE /posts/1`

I.e. a response that may contain a specified resource.

@param Request $request
@return bool
Will the response contain a specific resource?