check if command has executed in command consumer