Added a property to indicate generated message on AssertionError

AssertionError.generatedMessage indicates if .message was generated

As discussed in #5836