avid.common.artefact.ensureCaseInstanceValidity

avid.common.artefact.ensureCaseInstanceValidity(checkedArtefact, *otherArtefacts)

Checks if the checkedArtefact has a valid case instance compared to all other artefacts. The case instance is valid if checkedArtefact has the value None or the same value then all other artefacts. If the other artifacts have a value, checkedArtefact gets the same value. @pre otherArtefacts must have amongst other the same instance value or none @pre checkedArtefact must have the same instance value or none @return Returns false if there was a conflict (failed precondition) while ensuring the validity.