@classmethod
def use_ipumodel(cls):
    if ('POPLAR_IPUMODEL' not in os.environ):
        return False
    else:
        flag = os.environ['POPLAR_IPUMODEL']
        if (flag.upper() in ['1', 'TRUE']):
            return True
@classmethod
def use_ipumodel(cls):
    if ('POPLAR_IPUMODEL' not in os.environ):
        return False
    else:
        flag = os.environ['POPLAR_IPUMODEL']
        if (flag.upper() in ['1', 'TRUE']):
            return True