Reports boolean methods whose names do not start with a question word.

Boolean methods that override library methods are ignored by this inspection.

Example:

boolean empty(List<String> list) {
  return list.isEmpty();
}

A quick-fix that renames such methods is available only in the editor.

Configure the inspection: