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.

def hasProp(self, name):
        """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. """
        ret = libxml2mod.xmlHasProp(self._o, name)
        if ret is None:return None
        __tmp = xmlAttr(_obj=ret)
        return __tmp