public static boolean isWord ( String wordString ) { return Optional . ofNullable ( wordPattern ) . orElseGet ( ( ) -> wordPattern = Pattern . compile ( WordPattern ) ) . matcher ( wordString ) . matches ( ) ; }
Is word boolean .