private static boolean keepRowWithAnyBlack ( String row ) {
  return row . chars ( ) . anyMatch ( Main :: isBlack ) ;
}

private static boolean keepRowWithAnyBlack ( String row ) { return row . chars ( ) . anyMatch ( Main :: isBlack ) ; }
(method_declaration (modifiers) type: (boolean_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (return_statement (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (method_reference (identifier) (identifier)))))))