protected function isExpectingDocument(InboundRequestInterface $request)
    {
        return $request->isCreateResource() ||
            $request->isUpdateResource() ||
            $request->isReplaceRelationship() ||
            $request->isAddToRelationship() ||
            $request->isRemoveFromRelationship();
    }