class KeyDataUtil {

    public static boolean isFileSystem(KeyData keyData) {
        return Stream.of(keyData.getPrivateKeyPath(), keyData.getPublicKeyPath()).allMatch(Objects::nonNull);
    }

    private  KeyDataUtil();

}