title: Check if property exists in object
body: <p><strong>I spent a long time now trying to figure this myself with the help of other questions but failed so I REALLY need to ask this again</strong></p>
  
  <p>I have the following object in ruby</p>
  
  <pre><code>(...)
    :follow_request_sent: 
    :notifications:  
  :coordinates: 
  :place: 
  :contributors: 
  :favorite_count: 0
  :entities:
    :hashtags:
    - :text: 
      :indices:
  (...)
  </code></pre>
  
  <p>This is object <strong>X</strong>. What I want to do is check if <strong>x.place</strong> exists. I've tried barely EVERYTHING. any, ?, include?, with [hash], defined?, (...) but it ALWAYS throws an error "undefined method" when trying to access the property, whether it exists or not. It NEVER works and I don't understand why. This is twitter API btw. Does anyone imagine why? Please do not point me to another answers because basically they all failed.</p>