title: How do you check whether a button is enabled or not in Android?
body: <p>In Android I can set a button to be enabled or disabled by doing the following:</p>
  
  <p><code>button.setEnabled(true);</code> or <code>button.setEnabled(false);</code></p>
  
  <p>How do I check whether the button enabled state is true or false?</p>