you can use a sniffer or "debug ip ospf packets" (CAREFULLY!!). With the latter it will show you "v:2" or "v:3". Besides, if OSPF is used with IPv4 then it is version 2 if it is for IPv6 then it is version 3.
Hope this helps!
Regards, Martin
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: