public static boolean isPackedFile(InputStream inputStream) throws IOException {
		inputStream.skip(MAGIC_NUMBER_POS);
		byte[] magicBytes = new byte[MAGIC_NUMBER_SIZE];
		inputStream.read(magicBytes);
		BigEndianDataConverter dc = BigEndianDataConverter.INSTANCE;
		long magic = dc.getLong(magicBytes);
		return (magic == MAGIC_NUMBER);
	}
A convenience method for checking if the file denoted by the given inputStream is a 
packed file.  
<p>
<b>Note: </b> This method will NOT close the given inputStream.
@param inputStream a stream for accessing bytes of what may be a packed file
@return true if the bytes from the inputStream represent the bytes of a packed file
@throws IOException If there is a problem accessing the inputStream
@see #isPackedFile(File)
Ghidra/Framework/FileSystem/src/main/java/ghidra/framework/store/local/ItemSerializer.java