SchedulerEventTable::hasSubscriptions: Bitrix method

      
<?php 
//  Bitrix\Bizproc\SchedulerEventTable :: hasSubscriptions()
//  /dist/bitrix/modules/bizproc/lib/schedulerevent.php:104

    
public static function hasSubscriptions($eventModule$eventType)
    {
        
$filter = array(
            
'=EVENT_MODULE' => $eventModule,
            
'=EVENT_TYPE' => $eventType
        
);

        
$row = static::getList(array(
            
'select' => array('ID'),
            
'filter' => $filter,
            
'limit' => 1
        
))->fetch();

        return (
is_array($row));
    }