CBPDocumentService :: isFeatureEnabled: Bitrix method

      
<?php 
//  CBPDocumentService :: isFeatureEnabled()
//  /dist/bitrix/modules/bizproc/classes/general/documentservice.php:1225

    
public function isFeatureEnabled($parameterDocumentType$feature)
    {
        list(
$moduleId$entity$documentType) = CBPHelper::ParseDocumentId($parameterDocumentType);

        if (
strlen($moduleId) > 0)
            
CModule::IncludeModule($moduleId);

        if (
class_exists($entity) && method_exists($entity'isFeatureEnabled'))
            return 
call_user_func_array(array($entity'isFeatureEnabled'), array($documentType$feature));

        return 
false;
    }