Checks if the item contains metadata key with expected_type.
the metadata key
the #GVariantType to check for key
true if a value was found for key matching expected_typed; otherwise false is returned.
Checks if the item contains metadata key with expected_type.