If just required to check iff the command is successful.