Check that the given string is a valid D-Bus bus name of an appropriate type.
name |
a possible bus name |
allow_types |
some combination of UNIQUE, WELL_KNOWN or BUS_DAEMON (often this will be NOT_BUS_DAEMON or ANY) |
|