pydicom.datadict.dictionary_has_tag¶
- pydicom.datadict.dictionary_has_tag(tag: Union[int, str, Tuple[int, int], pydicom.tag.BaseTag]) bool¶
Return
Trueif tag is in the official DICOM data dictionary.- Parameters
tag (int) – The tag to check.
- Returns
Trueif the tag corresponds to an element present in the official DICOM data dictionary,Falseotherwise.- Return type
bool