I know about using Browser().Page().Exist() to see if the item is on the screen.
How do I find out if it is in the OR?
Take a look at the ObjectRepositoryUtil.GetObject method. Or maybe GetTOProperty. It is not specified in the online help what these methods return if the object doesn't exist.
(Opinions and information contained in this post are wholly my own and do not reflect the opinions of my employer.)
If you try to access an object that is not in the OR then QTP will throw an error. You can also access the OR via the QTP API and check for existence, but it might be simpler and faster to just trap the error you get if the object doesn't exist.
Here you go....
On error resume next
If Err.Number <> 0 Then Msgbox "Object doesn't exist in OR"