@Override
    public boolean isAvailableImpl(@NotNull Project project, Editor editor, PsiFile file) {
        return myExpression != null && myExpression.isValid() && myExpression.getType() == XPathType.BOOLEAN && myExpression.getROperand() != null;
    }
@Override
    public boolean isAvailableImpl(@NotNull Project project, Editor editor, PsiFile file)