SessionItem.hasMetadata

bool hasMetadata(string key, out glib.variant_type.VariantType valueType)

If the item contains a metadata value for key.

Checks if a value exists for a metadata key and retrieves the #GVariantType for that key.

Parameters

keythe name of the metadata
valueTypea location for a #GVariantType or null

Returns

true if self contains metadata named key and value_type is set

to the value's #GVariantType. Otherwise false and value_type is unchanged.