def checkErrorMessages(error_messages):
    if error_messages:
        for e in error_messages:
            print(('ERROR: %s' % e))
        return True
    return False
def checkErrorMessages(error_messages):
    if error_messages:
        for e in error_messages:
            print(('ERROR: %s' % e))
        return True
    return False