CBitrixCloudCDNLocations :: valid: Bitrix method

      
<?php 
//  CBitrixCloudCDNLocations :: valid()
//  /dist/bitrix/modules/bitrixcloud/classes/general/cdn_location.php:323

    
function valid()
    {
        return 
key($this->locations) !== null;
    }