I feel like the scenario where you may need to compare two of the same object is common enough that it warrants its own built-in action.
Otherwise, it would be nice if a “Compare Objects” Java action was added to the Creative Commons module.
Edit: to be clear, this would compare the attributes of the objects to see if there is any difference between them and return True or False, maybe also giving the ID of whichever was most recently modified? (Although, that could be easily calculated afterwards. Just an IDea. Ha)