TensorFlow 2.0 Beta is available Learn more

tf.contrib.summary.should_record_summaries

View source on GitHub

Returns boolean Tensor which is true if summaries should be recorded.

tf.contrib.summary.should_record_summaries()