def METHOD_NAME(self, inet: NetworkInterface) -> bool:
    """Return true if this represents the dbus interface."""
    if not inet.settings:
        return False
    if inet.settings.match and inet.settings.match.path:
        return inet.settings.match.path == [self.path]
    return inet.settings.connection.interface_name == self.name