title: Shorter, more pythonic way of writing an if statement
body: <p>I have this</p>
  <pre><code>bc = 'off'
  
  if c.page == 'blog':
      bc = 'on'
  
  print(bc)
  </code></pre>
  <p>Is there a more pythonic (and/or shorter) way of writing this in Python?</p>