def summary_exists(tag):
    return next(
        (item['tensor'] for item in tf.get_collection("summary_tags") if
         item["tag"] == tag), None)
summary_exists.
dataset/ETHPy150Open tflearn/tflearn/tflearn/summaries.py/summary_exists