Gtk.RecentManager.prototype.has_item

function has_item(uri:String):Boolean {
    // Gjs wrapper for gtk_recent_manager_has_item()
}

Checks whether there is a recently used resource registered with uri inside the recent manager.

Since 2.10

uri

a URI

Returns

true if the resource was found, false otherwise.