if the last 128 byte begins with the token "TAG" the file has an ID3v1 (or ID3v1.1) tag.
ID3v2.3 tags are located in the beginning of the file (suitable for streaming) indicated by the token "id3". I believe ID3v2.4 is indicated by "3DE", but i'm not sure...