Is your feature request related to a problem? Please describe.
The _Property, _Signal and _Method "disabled" fields are not context aware and therefore a property, signal or method may only be hidden for all instances of a ServiceInterface. This is problematic when implementing interfaces with optional properties (for example org.bluez.LEAdvertisement) where ideally not all instances would include the same optional attributes.
Describe the solution you'd like
disabled could be provided by a Callable[[ServiceInterface], bool] callback. Alternatively the ServiceInterface could maintain a record of which attributes are disabled.
Is your feature request related to a problem? Please describe.
The _Property, _Signal and _Method "disabled" fields are not context aware and therefore a property, signal or method may only be hidden for all instances of a ServiceInterface. This is problematic when implementing interfaces with optional properties (for example org.bluez.LEAdvertisement) where ideally not all instances would include the same optional attributes.
Describe the solution you'd like
disabled could be provided by a Callable[[ServiceInterface], bool] callback. Alternatively the ServiceInterface could maintain a record of which attributes are disabled.