public static boolean containsYield(@NotNull PsiElement element){
    final YieldFinder returnFinder = new YieldFinder();
    element.accept(returnFinder);
    return returnFinder.yieldFound();
  }
public static boolean containsYield(@NotNull PsiElement element)