improved osc_has_latest_items function helper