def METHOD_NAME(cls, func, resp, infras):
    if resp:
        for infra in infras:
            if cls.dry_run:
                print infra
            else:
                func(infra)
        print 'Done'
    else:
        print 'GoodBye'