/**
  * Check is "Start a Hangout" is applicable to Calendar Event
  *
  * @param object|null $entity
  * @return bool
  */
 public function isApplicable($entity = null)
 {
     return $this->placeholderFilter->isEmailApplicable() && is_object($entity) && $this->doctrineHelper->getEntityClass($entity) == self::CALENDAR_EVENT_CLASS && $entity->getCalendar() && $entity->getCalendar()->getOwner() === $this->securityFacade->getLoggedUser() && !$entity->getChildEvents()->isEmpty() && $entity->getUseHangout() !== false;
 }
 /**
  * Check is "Start a Hangout" is applicable
  *
  * @param object|null $entity
  * @return bool
  */
 public function isApplicable($entity = null)
 {
     return $this->placeholderFilter->isPhoneApplicable() && is_object($entity) && $this->doctrineHelper->getEntityClass($entity) == self::CALL_CLASS;
 }