public function shouldConsumeCreatedEvent(BaseObject $object)
 {
     if ($object instanceof entry && $object->getSource() == LimeLightPlugin::getEntrySourceTypeCoreValue(LimeLightLiveEntrySourceType::LIMELIGHT_LIVE)) {
         return true;
     }
     return false;
 }
 public function shouldConsumeJobStatusEvent(BatchJob $dbBatchJob)
 {
     if ($dbBatchJob->getJobSubType() == LimeLightPlugin::getEntrySourceTypeCoreValue(LimeLightLiveEntrySourceType::LIMELIGHT_LIVE)) {
         if ($dbBatchJob->getJobType() == BatchJobType::PROVISION_PROVIDE) {
             return true;
         }
         if ($dbBatchJob->getJobType() == BatchJobType::PROVISION_DELETE) {
             return true;
         }
     }
     return false;
 }