func IsFound(page *web.Page, className string) bool {
	el := page.Find(className)
	count, _ := el.Count()
	return count > 0
}
IsFound checks if element selector matches any elements
package utils
import (
	"fmt"
	"strings"
	"time"
	"github.com/gravitational/robotest/e2e/framework"
	"github.com/gravitational/robotest/e2e/uimodel/defaults"
	. "github.com/onsi/gomega"
	web "github.com/sclevine/agouti"
	. "github.com/sclevine/agouti/matchers"
)
func IsErrorPage(page *web.Page) bool {
	return IsFound(page, ".grv-msg-page")
}
func IsInstaller(page *web.Page) bool {
	return IsFound(page, ".grv-installer")
}
func HasValidationErrors(page *web.Page) bool {
	return IsFound(page, "label.error")
}
func IsLoginPage(page *web.Page) bool {
	count, _ := page.FindByClass("grv-user-login").Count()
	return count > 0
}