needs_upgrading function

Determine whether a MizerParams or MizerSim object needs to be upgraded