def equil_replicate_set(job):
    """Check if number of equil replicates done has been set."""
    try:
        return isinstance(job.doc.equil_replicates_done, int)
    except AttributeError:
        return False