title: Verify state of boolean variables in a dict
body: <p>I'm using some flags to keep track of actions like:</p>
  
  <pre><code>is_registered = True
  has_paid = False    
  has_phone  = True
  
  if (is_registered and has_phone and has_paid):
      do_something
  </code></pre>
  
  <p>But if the number of fields increase I prefer to store it in a dictionary</p>
  
  <pre><code>user_flags = {'is_registered':True,'has_paid':False,'has_phone':True}
  
  if (user_flags['is_registered'] and user_flags['has_paid'] and user_flags['has_phone']):
      do_something
  </code></pre>
  
  <p>And again that might be ok for a small number of items but if I've gets say over 50 items it gets quite verbose</p>