code: public boolean containsCollectionDef(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetCollectionDef().getMap().containsKey(key);
    }
docs: <pre>
  collection_def: Map from collection name to collections.
  See CollectionDef section for details.
  </pre>
  
  <code>map&lt;string, .tensorflow.CollectionDef&gt; collection_def = 4;</code>