Asserts that a JSON:API resource has a non-null included object.
included
This follows the same contract-based pattern as requireId, but for serializers that require included to be present.
if included is null.
null