def isXsType(localName):
    if localName[-1] in ('?', '+', '*'):
        return localName[:-1] in xsFunctions
    return localName in xsFunctions
dataset/ETHPy150Open Arelle/Arelle/arelle/FunctionXs.py/isXsType/original