tf.contrib.graph_editor.can_be_regex

View source on GitHub

Return True if obj can be turned into a regular expression.