code: private boolean checkHeader(RandomAccessInputStream raf) throws FileNotFoundException, IOException
  	{
  		boolean retval = false;
  
  		if (raf.length() > TAG_SIZE)
  		{
  			raf.seek(raf.length() - TAG_SIZE);
  			byte[] buf = new byte[3];
  
  			if (raf.read(buf) != 3)
  			{
  				throw new IOException("Error encountered reading ID3 header");
  			}
  			else
  			{
  				String result = new String(buf, 0, 3, ENC_TYPE);
  				retval = result.equals(TAG_START);
  			}
  		}
  
  		return retval;
  	}
docs: Checks whether a header for the id3 tag exists yet
  
  @return true if a tag is found
  @exception FileNotFoundException if an error occurs
  @exception IOException if an error occurs