IsVariableExists: Bitrix method

      
<?php 
//  IsVariableExists()
//  /dist/bitrix/modules/bizproc/classes/general/activity.php:316

    
public function IsVariableExists($name)
    {
        
$rootActivity $this->GetRootActivity();
        return (
            
array_key_exists($name$rootActivity->arVariables)
            ||
            
array_key_exists($name$rootActivity->arVariablesTypes)
        );
    }