func (p NodePage) IsEmpty() (bool, error) {
	is, err := ExtractNodes(p)
	if err != nil {
		return true, nil
	}
	return len(is) == 0, nil
}
IsEmpty checks whether a NodePage struct is empty.
package nodes
import (
	"github.com/mitchellh/mapstructure"
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type Node struct {
	Address string
	ID int
	Port int
	Status Status
	Condition Condition
	Weight int
	Type Type
}
type Type string
const (
	PRIMARY Type = "PRIMARY"
	SECONDARY Type = "SECONDARY"
)
type Condition string
const (
	ENABLED Condition = "ENABLED"
	DISABLED Condition = "DISABLED"
	DRAINING Condition = "DRAINING"
)
type Status string
const (
	ONLINE Status = "ONLINE"
	OFFLINE Status = "OFFLINE"
)
type NodePage struct {
	pagination.SinglePageBase
}