https://au.mathworks.com/help/medical-imaging/ref/dicomfile.isattribute.html
isAttribute - Check if specified attribute is present in DICOM file - MATLAB
This MATLAB function returns a logical 1 (true) if the attribute attributeName is present in the DICOM file specified by the dicomFile object dFile.
checkattribute
https://www.mathworks.com/help/medical-imaging/ref/dicomfile.isattribute.html
isAttribute - Check if specified attribute is present in DICOM file - MATLAB
This MATLAB function returns a logical 1 (true) if the attribute attributeName is present in the DICOM file specified by the dicomFile object dFile.
checkattribute