def is_ipv6_pd_enabled(subnet):
 return (subnet.get('subnetpool_id') == const.IPV6_PD_POOL_ID)

def is_ipv6_pd_enabled ( subnet ) : return ( subnet . get ( 'subnetpool_id' ) == const . IPV6_PD_POOL_ID )
returns true if the subnetpool_id of the given subnet is equal to constants .