def is_in_top_level_ui(modname):
    if modname == 'Focus':
        return True
    if modname == 'Event':
        return True
    if modname == 'MouseListener':
        return True
    if modname == 'KeboardListener':
        return True
    if modname == 'FocusListener':
        return True
    if modname.startswith("Has") and modname.endswith("Alignment"):
        return True
    return False
these can be imported 'from pyjamas.ui import modname'
dataset/ETHPy150Open anandology/pyjamas/contrib/pyjamas_0.4-0.5_upgrade/replacer.py/is_in_top_level_ui