static boolean inSomePackage(@NotNull PsiElement context) {
    PsiFile contextFile = context.getContainingFile();
    return contextFile instanceof PsiClassOwner && StringUtil.isNotEmpty(((PsiClassOwner)contextFile).getPackageName());
  }
static boolean inSomePackage(@NotNull PsiElement context)