object properties in python
<pre><code>   class test:
      a="hi"

      def msg(self):
          print the variable for which the object is referring to

   t= test()
    print t.b
</code></pre>

<p>From the above code is there any way to tell that the object is referring to a variable b which does not exist</p>
