def search_upnp_device():
 return defer.maybeDeferred(UPnPProtocol().search_device)

def search_upnp_device ( ) : return defer . maybeDeferred ( UPnPProtocol ( ) . search_device )
check the network for an upnp device .