'Returns True if router is associated with driver, else False.'

def owns_router(self, context, router_id):

    if (not router_id):
        return False
    return (self.l3plugin.l3_driver_controller.get_provider_for_router(context, router_id) == self)
