public static boolean isAndroidXmlFile(ByteProvider provider, TaskMonitor monitor)
			throws IOException {
		byte[] actualBytes =
			provider.readBytes(0, AndroidXmlConvertor.ANDROID_BINARY_XML_MAGIC.length);
		if (!Arrays.equals(actualBytes, AndroidXmlConvertor.ANDROID_BINARY_XML_MAGIC)) {
			return false;
		}

		try (InputStream is = provider.getInputStream(0)) {
			StringWriter sw = new StringWriter();
			AndroidXmlConvertor.convert(is, new PrintWriter(sw), monitor);
			return true;
		}
		catch (IOException | CancelledException e) {
			return false;
		}
	}
This is a {@link GFileSystem} that provides a single file, which is the text version
of a binary android xml file.
<p>
NOTE: most of this code was hijacked from AXMLPrinter.java class!
Ghidra/Features/FileFormats/src/main/java/ghidra/file/formats/android/xml/AndroidXmlFileSystem.java