It’s very simple, if the other person reacts to your statement with a story of theirs which is similar to yours but is of a higher degree than yours, they are trying to one up you. You can also take a note of the above mentioned characteristics of a one upper to identify one.