Recurity.Swf.TagHandler.DefineBitsJPEG2.VerifyGIF98a C# (CSharp) Method

VerifyGIF98a() private method

Verifies this object and its component for documentation compliance.
private VerifyGIF98a ( ) : bool
return bool
        private bool VerifyGIF98a()
        {
            if (this._imageData.Length > 6)
            {
                return false;
            }
            byte[] GIF98aMagic = { 0x47, 0x49, 0x46, 0x38, 0x39, 0x61 };
            byte[] comparer = { this._imageData[0], this._imageData[1], this._imageData[2],
                                this._imageData[3], this._imageData[4], this._imageData[5] };

            if ( GIF98aMagic.Equals( comparer ) )
            {
                return true;
            }
            else
            {
                return false;
            }
        }