public function canNotifySubscribers()
    {
        $maintenancePeriods = Schedule::inProgress()->count();
        if ($maintenancePeriods === 0) {
            return true;
        }

        return !$this->config->get('setting.suppress_notifications_in_maintenance');
    }
public function canNotifySubscribers()
    {
        $maintenancePeriods = Schedule::inProgress()->count();
        if ($maintenancePeriods === 0) {
            return true;
        }

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

@return bool
Determine if Cachet is allowed to send notifications to users subscribers or third party tools .