GLib.BookmarkFile.prototype.has_item

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

Looks whether the desktop bookmark has an item with its URI set to uri.

Since 2.12

uri

a valid URI

Returns

true if uri is inside bookmark, false otherwise