code: public static boolean isTempoMessage(MetaMessage message) {
  		return
          	(message.getType()==MidiMessageType.MARKER &&
          			message.getData()[0]==MidiMessageType.TEMPO_CHANGE);
  	}
docs: Checks the first byte of the data part of the message to check
  if it is a tempo message or not.
  @param message
  @return <TT>true</TT> if the given message is a tempo message,
  <TT>false</TT> otherwise.