RestService :: checkAdminPermissions: Bitrix method

      
<?php 
//  Bitrix\Bizproc\RestService :: checkAdminPermissions()
//  /dist/bitrix/modules/bizproc/lib/restservice.php:1294

    
private static function checkAdminPermissions()
    {
        if (!static::
isAdmin())
        {
            throw new 
AccessException();
        }
    }