public static boolean isEntropyInjecting(FileSystem fs, Path target) {
        final EntropyInjectingFileSystem entropyFs = getEntropyFs(fs);
        return entropyFs != null
                && entropyFs.getEntropyInjectionKey() != null
                && target.getPath().contains(entropyFs.getEntropyInjectionKey());
    }
@Test
    void testIsEntropyFs() throws Exception {
        final String entropyKey = "_test_";
        final FileSystem efs = new TestEntropyInjectingFs(entropyKey, "ignored");
        final File folder = TempDirUtils.newFolder(tempFolder);
        final Path path = new Path(Path.fromLocalFile(folder), entropyKey + "/path/");
        assertThat(EntropyInjector.isEntropyInjecting(efs, path)).isTrue();
    }