def _subscribes_to_notification_email?(key, subscribe_as_default = ActivityNotification.config.subscribe_as_default)
        evaluate_subscription(subscriptions.where(key: key).first, :subscribing_to_email?, subscribe_as_default)
      end
def _subscribes_to_notification_email?(key, subscribe_as_default = ActivityNotification.config.subscribe_as_default)
        evaluate_subscription(subscriptions.where(key: key).first, :subscribing_to_email?, subscribe_as_default)
      end
Returns if the target subscribes to the notification email.
 This method can be overriden.
 @api protected

 @param [String]  key                  Key of the notification
 @param [Boolean] subscribe_as_default Default subscription value to use when the subscription record does not configured
 @return [Boolean] If the target subscribes to the notification