def METHOD_NAME(line):
    """return False if not warning is raised, return True is a warning is raised"""
    stream.seek(0)
    stream.truncate(0)
    myprocdef = interface.extract_process(line)
    try: 
        interface.proc_validity(myprocdef,'aMCatNLO_all')
    except Exception as error:
        if '1804.10017' in str(error):
            raise MGerror
    text = stream.getvalue()
    if '1804.10017' in text:
        return True
    else:
        return False