MAKS\AmqpAgent\Worker\WorkerCommandTrait::hasCommand
Checks whether a specific command (command name) exists in the command array.
Signature
public function hasCommand(array
        $data,
            [string
        $name = NULL,
            [string
        $value = NULL]] )
            
        Parameters
- $data— array
- The array that should be checked.
- $name— string
- The name of the command.
 
- $value— string
- The value of the command.
 
Returns
- bool