How to test if a html page has a parent page?

How to test if a html page has a parent page?

Hi,

How to test if a html page has a parent page?

Let me explain: I use the (great) Colorbox plugin and I like to apply jquery functions only if a page is in an Colorbox iframe.

So, basically, I'd like to know how to determine with jQuery if a page has a parent page (= is in a Colorbox iframe).

Any help would be greatly appreciated!