Gimp.Item.is_layer

@accepts(Gimp.Item)
@returns(bool)
def is_layer(self):
    # Python wrapper for gimp_item_is_layer()
  

Returns whether the item is a layer.

This procedure returns TRUE if the specified item is a layer.

Since 2.8

self

The item.

Returns