Snapd.Slot.has_attribute – snapd-glib Reference Manual
has_attribute
Description:
[
Version
( since =
"1.3"
) ]
public
bool
has_attribute
(
string
name)
Check if this slot has an attribute.
Parameters:
this
a
Slot
.
name
an attribute name.
Returns:
true
if this attribute exists.
2022 vala-language.org