title: Determine if given class attribute is a property or not, Python object
body: <p>It's all in the title. Here is the following example:</p>
  
  <pre><code>class A(object):
      my_var = 5
  
      def my_method(self, drink='beer'):
          return 'I like %s' % drink
  
      @property
      def my_property(self):
          return 'I do not drink coffee'
  </code></pre>
  
  <p>I instantiate an A object and I want to know the type of each attribute and if it is a callable. For this I'm using <code>dir()</code>.</p>
  
  <pre><code>obj = A()
  
  for attr in dir(obj):
      print 'Type: %s' % type(obj)
      print 'Is callable: %s' % callable(attr)
  </code></pre>
  
  <p>I have to know also if an attribute is a property. I'm sure that there is a way to know this.
  All suggestions will be appreciated.</p>