public static boolean canConvertToLambda(PsiMethodReferenceExpression referenceExpression) {
    return createLambda(referenceExpression, false) != null;
  }
public static boolean canConvertToLambda(PsiMethodReferenceExpression referenceExpression)