private static boolean isNegated(final @NotNull PsiExpression start, boolean negated) {
      final PsiExpression negation = BoolUtils.findNegation(start);
      if (negation == null) return negated;
      else return isNegated(negation, !negated);
    }
private static boolean isNegated(final @NotNull PsiExpression start, boolean negated)