def METHOD_NAME(cls):
    print("starting setup...")
    if hasattr(cls, "SAMPLE_DATA"):
        cls.using_random_data = False
    else:
        cls.using_random_data = True
        cls.create_random_tst_data()
    print("looking for ilastik.py...")
    import ilastik.__main__
    cls.ilastik_startup = ilastik.__main__