fun hasModality(modality: ModalityType): Boolean
Check whether the current Id contains the input modality