boolean (@NotNull String inspectionsList, @NotNull String inspectionToolID) { Iterable<String> ids = StringUtil.tokenize(inspectionsList, "[, ]"); for (@NonNls String id : ids) { @NonNls String trim = id.trim(); if (trim.equals(inspectionToolID) || trim.equalsIgnoreCase(ALL)) return true; } return false; }