def predefinedEntity(name):
    """Check whether this name is an predefined entity. """
    ret = libxml2mod.xmlGetPredefinedEntity(name)
    if ret is None:raise treeError('xmlGetPredefinedEntity() failed')
    return xmlEntity(_obj=ret)
def predefinedEntity ( name ) : ret = libxml2mod . xmlGetPredefinedEntity ( name ) if ret is None : raise treeError ( 'xmlGetPredefinedEntity() failed' ) return xmlEntity ( _obj = ret )
Check whether this name is an predefined entity.