CBPRuntime::isFeatureEnabled: Bitrix method

      
<?php 
//  CBPRuntime :: isFeatureEnabled()
//  /dist/bitrix/modules/bizproc/classes/general/runtime.php:123

    
public static function isFeatureEnabled($featureName '')
    {
        if (!
CModule::IncludeModule('bitrix24'))
            return 
true;

        
$featureName = (string)$featureName;

        if (
$featureName === '')
            
$featureName 'bizproc';

        if (!isset(static::
$featuresCache[$featureName]))
            static::
$featuresCache[$featureName] = \Bitrix\Bitrix24\Feature::isFeatureEnabled($featureName);

        return static::
$featuresCache[$featureName];
    }