<?xml version="1.0"?>
<page id="Gimp.Item.id_is_selection"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Item" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_item_id_is_selection</api:name>
      <api:arg>
        <api:type>int</api:type>
        <api:name>item_id</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Item.id_is_selection</title>
  <synopsis><code mime="text/x-python">
@accepts(int)
@returns(bool)
def id_is_selection(item_id):
    # Python wrapper for gimp_item_id_is_selection()
  </code></synopsis>
  <p>Returns whether the item ID is a selection.</p>  <p>This procedure returns <code>True</code> if the specified item ID is a
selection.</p>  <p>*Note*: in most use cases, you should not use this function. See
[func@Gimp.Item.id_is_layer] for a discussion on alternatives.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>item_id</code></title>
  <p>The item ID.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
