def is_funcvar(expr):
    assert isinstance(expr, string_types), "%s is not a string" % expr
    return re.match(r'^[A-Z]\d*$', expr) is not None
A function variable must be a single uppercase character followed by
dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/is_funcvar