MAKS\AmqpAgent\Worker\WorkerCommandTrait::hasCommand

Checks whether a specific command (command name) exists in the command array.