public static boolean isActionAvailable(final Editor editor, final PsiFile file) {
    return isInsideTag(editor, file, new String[] {TD, TH});
  }
public static boolean isActionAvailable(final Editor editor, final PsiFile file)