osc_is_ad_page() - is user on item detail/description page,
osc_is_publish_page() - is user on item post/publish page,
os_is_static_page() - is user on a custom static page - the ones you can add in admin.
All these return true if a user is on that page and false if not.
Regards.