def removeQuotes(st): def isExpression(st): def getExpr(st): def checkAttributes(tagtype, attrs, validAttrs):