Checks if string is a valid D-Bus interface name.
string
The string to check.
true if valid, false otherwise.