title: django request.session.get("name", False) - What does this code mean?
body: <p>I am using the following code : </p>
  
  <pre><code>if request.session.get("name",False):
  </code></pre>
  
  <p>Can anyone please tell me what the above code does? What I assume is, if there is "name" in session it returns True, otherwise, it returns False. I'm confused with my code so I posted this question here. </p>
  
  <p>Thanks.</p>