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 or str or Tuple[int, int]) – The tag to check, in any of the forms accepted by
Tag().- Returns
Trueif the tag corresponds to an element present in the official DICOM data dictionary,Falseotherwise.- Return type
bool