title: How to check whether the collection is sharded or not in Mongodb
body: <p>I Wrote</p>
  
  <pre><code>db.runCommand({enablesharding : "database"})
  
  db.runCommand({shardcollection : "database.coll_1",key : {_id :"hashed"}})
  </code></pre>
  
  <p>And how to check is collection sahrded or not?
  Maybe exist some function that I do not know.
  Plese help me!</p>