Return if command should not be executed to avoid exceptions and unnecessary messages to the player.