class KeyDataUtil {

    public static boolean isInline(KeyData keyData) {
        return Optional.of(keyData).filter(HAS_PUBLIC_KEY).filter(k -> Objects.nonNull(k.getConfig())).isPresent();
    }

    private  KeyDataUtil();

}