def METHOD_NAME(self, name: str) -> bool:
    check.str_param(name, "name")
    for mode_def_snap in self.job_snapshot.mode_def_snaps:
        if mode_def_snap.name == name:
            return True
    return False