#NEWLINE# def verify_subnet_exists( self , context , project_id , quantum_net_id ) : #NEWLINE# #INDENT# 'Confirms that a subnet exists that is associated with the\n           specified Quantum Network UUID.\n        ' #NEWLINE# tenant_id = ( project_id or FLAGS . quantum_default_tenant_id ) #NEWLINE# ( v4_subnet , v6_subnet ) = self . get_subnets_by_net_id ( context , tenant_id , quantum_net_id ) #NEWLINE# return ( v4_subnet is not None )