protected function checkDelivery(Payload $payload) { if (!$payload->hasDelivery()) { throw new ParsleyException("Payload has no delivery"); } }