private static boolean isBoolean(GrExpression expression) {
    final PsiType type = expression.getType();
    return PsiTypes.booleanType().equals(type);
  }
private static boolean isBoolean(GrExpression expression)