def part_1b_under_equilb_design_ensemble_run_limit(job):
    """Check that the equilbrium design ensemble run is under it's run limit."""
    try:
        if (
            job.doc.equilb_design_ensemble_number
            >= job.doc.equilb_design_ensemble_max_number
        ):
            job.doc.equilb_design_ensemble_max_number_under_limit = False
            return job.doc.equilb_design_ensemble_max_number_under_limit

        else:
            return True
    except:
        return False