In a microflow, you could model this by retrieving the object from the database and checking if all values are equal.
In Java, this is really easy, since there is a method for this
Boolean isChanged = iMendixObject.isChanged();
You can find documentation here, in the IMendixObject class. This method is already exposed as Java action in the CommunityCommons module: objectHasChanged.