otherwise false is returned.
SessionItem.hasMetadataWithType
bool hasMetadataWithType(string key, glib.variant_type.VariantType expectedType)Checks if the item contains metadata key with expected_type.
Parameters
key | the metadata key |
expectedType | the #GVariantType to check for key |
Returns
true if a value was found for key matching expected_typed;