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 testIsEntropyFsWithNullEntropyKey() throws Exception {
        final FileSystem efs = new TestEntropyInjectingFs(null, "ignored");

        final File folder = TempDirUtils.newFolder(tempFolder);
        assertThat(EntropyInjector.isEntropyInjecting(efs, Path.fromLocalFile(folder))).isFalse();
    }