Save the date! Google I/O returns May 18-20 Register now

tf.compat.v1.control_flow_v2_enabled

Returns True if v2 control flow is enabled.