Metal is not as easy to identify as wood. That's why we are woodworkers and not metalworkers.
A2 has 5% chromium where O-1 has none, but I don't know how you can easily differentiate between them except through spark testing. Take a known piece of O-1 and spark it with a grinder. Then do the same to your unknown blade. Spark patterns should be the same. Pay attention to the pattern, color, and density of sparks.
Of course, I have found that O-1 sparks vary depending upon the batch. Some spark orange and some spark yellow. Most O-1 sparks are white - yellow in my experience.
If you have some acid, you could try an acid test. Seems to be that the chromium in A2 would react less to acid. But real acid testing can be dangerous. Maybe mild vinegar would be safer (but slower).
And then there is use. The A2 is tougher but has larger pieces of carbide. Hock recommends a larger bevel to prevent edge crumbles. If your blade has a 25 degree bevel and it crumbles, then it is probably A2.
Hope this helps. Good luck with your new plane.