def is_classic_task(tup):
    name, func = tup
    try:
        is_classic = (
            callable(func) and (func not in _internals) and not
            name.startswith('_')
        )
    # Handle poorly behaved __eq__ implementations
    except (ValueError, TypeError):
        is_classic = False
    return is_classic
contributes to decorator ignored if trait present
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/main.py/is_classic_task--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/tests/plugin_test_case.py/PluginTestCase.test_contributes_to_decorator_ignored_if_trait_present