Allows any action to be retried in case of an exception.
Used to instruct a CommandRetry object on whether or not a retry for an action should be performed