public static boolean isInServerPageFile(PsiElement file) {
    return PsiUtilCore.getTemplateLanguageFile(file) instanceof ServerPageFile;
  }
public static boolean isInServerPageFile(PsiElement file)