title: How to create random binary/boolean variable in Netlogo
body: <p>I'd like to assign a random boolean variable to each turtle, but I'm not seeing a function that would simulate a draw from a Bernoulli distribution. </p>
  
  <p>This gets close, but it's awkward: </p>
  
  <pre><code>ifelse random-in-range 0 1 &lt; .5 [set expensive? false]
  [ set expensive? true ]
  </code></pre>
  
  <p>Anyone know a better way? </p>