def hasKey(obj, key):
    if hasattr(obj, 'has_key') and key in obj:
        return True
    elif hasattr(obj, key):
        return True
    else:
        return False
Parse a non-recursive expression term.
dataset/ETHPy150Open binhex/moviegrabber/lib/site-packages/Cheetah/NameMapper.py/hasKey--crossover with--dataset/ETHPy150Open dansanderson/picotool/pico8/lua/parser.py/Parser._exp_term