title: Questions about boolean class properties naming convention for is/has
body: <p>I have these properties for a patient represented by class Patient. I am wondering what is best practice to name them?</p>
  
  <ol>
  <li>whether she is in lactation period: boolean</li>
  <li>whether she is pregnant: boolean</li>
  <li>whether she is preparing for pregnant: boolean</li>
  <li>whether he/she suffers low blood glucose recently: boolean</li>
  <li>whether he/she has complications: boolean</li>
  </ol>
  
  <p>a first thought was to name them as:</p>
  
  <pre><code>boolean isInLactationPeriod;
  boolean isPregnant;
  boolean isPreparingPregnant;
  boolean hasSufferedLowBloodGlucoseRecently;
  boolean hasComplications;
  </code></pre>
  
  <p>However I also come across suggestions that java properties should not be name with leading is / has, but to leave them to the getter / setter method, e.g.</p>
  
  <pre><code>boolean pregnant;
  boolean isPregnant() {
      return pregnant;
  }
  </code></pre>
  
  <p>Which one is better?</p>