code: def hasProp(self, name):
          
          ret = libxml2mod.xmlHasProp(self._o, name)
          if ret is None:return None
          __tmp = xmlAttr(_obj=ret)
          return __tmp
docs: Search an attribute associated to a node This function also
            looks in DTD attribute declaration for #FIXED or default
             declaration values unless DTD use has been turned off.