Determining whether a compiled object has been upgraded

To determine whether a compiled object has been upgraded, do one of the following: