func IsBinary(e sql.Expression) bool {
	return len(e.Children()) == 2
}
IsBinary returns whether the expression is binary or not.
package expression
import (
	"github.com/src-d/go-mysql-server/sql"
)
func IsUnary(e sql.Expression) bool {
	return len(e.Children()) == 1
}