def is_polarization_problem(output_path):
    """
    Check the presence of polarization errors.
    """

    thefile = open(output_path)
    lines = thefile.read().split('\n')

    for line in lines:
        if "POLARIZATION: Iteration to find the polarization" in line:
            return True

    return False