title: Convert 4-bit integer into Boolean list
body: <p>I have an integer of which I know that it's between 0 and 15, i.e., can be expressed in 4 bits. I would like to get the bit representation of that array as a Boolean array, i.e.,</p>
  
  <pre class="lang-py prettyprint-override"><code>0: [False, False, False, False],
  1: [True, False, False, False],
  2: [False, True, False, False],
  # [...]
  15: [True, True, True, True]
  </code></pre>
  
  <p>How can I best achieve that?</p>