title: How do I tell if Intent extras exist in Android?
body: <p>I have this code that checks for a value of an extra in an Intent on an Activity that is called from many places in my app:</p>
  
  <pre><code>getIntent().getExtras().getBoolean("isNewItem")
  </code></pre>
  
  <p>If isNewItem isn't set, will my code crash? Is there any way to tell if it's been set or not before I call it?</p>
  
  <p>What is the proper way to handle this?</p>