public static boolean isSlaFormat(InputStream stream) throws IOException {
		byte[] header = new byte[4];
		int readLen = stream.read(header);
		if (readLen < 4) {
			return false;
		}
		if (header[0] != 's' || header[1] != 'l' || header[2] != 'a') {
			return false;
		}
		if (header[3] != FORMAT_VERSION) {
			return false;
		}
		return true;
	}
Try to read the header bytes of the .sla format from the given stream. If the header bytes
and the version byte match, \b true is returned, and the stream can be passed to the decoder.
@param stream is the given stream
@return true if the .sla header bytes are found
@throws IOException for any errors reading from the stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/pcode/utils/SlaFormat.java