original_string: public function canNotifySubscribers()
      {
          $maintenancePeriods = Schedule::inProgress()->count();
          if ($maintenancePeriods === 0) {
              return true;
          }
  
          return !$this->config->get('setting.suppress_notifications_in_maintenance');
      }
code: public function canNotifySubscribers()
      {
          $maintenancePeriods = Schedule::inProgress()->count();
          if ($maintenancePeriods === 0) {
              return true;
          }
  
          return !$this->config->get('setting.suppress_notifications_in_maintenance');
      }
code_tokens: public function canNotifySubscribers ( ) { $ maintenancePeriods = Schedule :: inProgress ( ) -> count ( ) ; if ( $ maintenancePeriods === 0 ) { return true ; } return ! $ this -> config -> get ( 'setting.suppress_notifications_in_maintenance' ) ; }
docstring: Determine if Cachet is allowed to send notifications to users, subscribers or third party tools.
  
  @return bool
docstring_tokens: Determine if Cachet is allowed to send notifications to users subscribers or third party tools .