public bool HasOverlayActivationLayer(int index)
        {
            if (index < 0 || index >= 16)
            {
                return(false);
            }
            DicomAttribute attrib;

            if (!base.DicomAttributeProvider.TryGetAttribute(OverlayPlaneModuleIod.ComputeTagOffset(index) + DicomTags.OverlayActivationLayer, out attrib))
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="OverlayActivation"/> class.
 /// </summary>
 /// <param name="index">The zero-based index of the overlay to which this module refers.</param>
 /// <param name="dicomAttributeProvider">The underlying collection.</param>
 internal OverlayActivation(int index, IDicomAttributeProvider dicomAttributeProvider)
     : base(dicomAttributeProvider)
 {
     _index     = index;
     _tagOffset = OverlayPlaneModuleIod.ComputeTagOffset(_index);
 }