Gimp.Item.id_is_valid

@accepts(int)
@returns(bool)
def id_is_valid(item_id):
    # Python wrapper for gimp_item_id_is_valid()
  

Returns TRUE if the item ID is valid.

This procedure checks if the given item ID is valid and refers to an existing item.

Since 3.0

item_id

The item ID to check.

Returns