private function isProctoredDelivery(\core_kernel_classes_Resource $delivery)
    {
        $hasProctor = $delivery->getOnePropertyValue($this->getProperty(ProctorService::ACCESSIBLE_PROCTOR));
        $result = $hasProctor instanceof \core_kernel_classes_Resource &&
            $hasProctor->getUri() == ProctorService::ACCESSIBLE_PROCTOR_ENABLED;
        return $result;
    }
private function isProctoredDelivery(\core_kernel_classes_Resource $delivery)
    {
        $hasProctor = $delivery->getOnePropertyValue($this->getProperty(ProctorService::ACCESSIBLE_PROCTOR));
        $result = $hasProctor instanceof \core_kernel_classes_Resource &&
            $hasProctor->getUri() == ProctorService::ACCESSIBLE_PROCTOR_ENABLED;
        return $result;
    }
private function isProctoredDelivery ( \ core_kernel_classes_Resource $ delivery ) { $ hasProctor = $ delivery -> getOnePropertyValue ( $ this -> getProperty ( ProctorService :: ACCESSIBLE_PROCTOR ) ) ; $ result = $ hasProctor instanceof \ core_kernel_classes_Resource && $ hasProctor -> getUri ( ) == ProctorService :: ACCESSIBLE_PROCTOR_ENABLED ; return $ result ; }
Check whether secure plugins must be used.

@param \core_kernel_classes_Resource $delivery
@return bool
@throws \core_kernel_persistence_Exception
Check whether secure plugins must be used .