@Override
    public boolean isApplicableTo(PsiElement e) {
        if (!(e instanceof KtLambdaExpression lambda)) return false;

      KtBlockExpression body = lambda.getBodyExpression();
        KtElement enclosingElement = getLambdaEnclosingElement(lambda);

        if (body == null || enclosingElement == null) return false;

        return canExtractExpression(body, (KtElement)enclosingElement.getParent());
    }
@Override
    public boolean isApplicableTo(PsiElement e)