func (p PoolPage) IsEmpty() (bool, error) {
	is, err := ExtractPools(p)
	if err != nil {
		return true, nil
	}
	return len(is) == 0, nil
}
IsEmpty checks whether a PoolPage struct is empty.
package pools
import (
	"github.com/mitchellh/mapstructure"
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type Pool struct {
	Status string
	LBMethod string `json:"lb_method" mapstructure:"lb_method"`
	Protocol string
	Description string
	MonitorIDs []string `json:"health_monitors" mapstructure:"health_monitors"`
	SubnetID string `json:"subnet_id" mapstructure:"subnet_id"`
	TenantID string `json:"tenant_id" mapstructure:"tenant_id"`
	AdminStateUp bool `json:"admin_state_up" mapstructure:"admin_state_up"`
	Name string
	MemberIDs []string `json:"members" mapstructure:"members"`
	ID string
	VIPID string `json:"vip_id" mapstructure:"vip_id"`
	Provider string
}
type PoolPage struct {
	pagination.LinkedPageBase
}
func (p PoolPage) NextPageURL() (string, error) {
	type resp struct {
		Links []gophercloud.Link `mapstructure:"pools_links"`
	}
	var r resp
	err := mapstructure.Decode(p.Body, &r)
	if err != nil {
		return "", err
	}
	return gophercloud.ExtractNextURL(r.Links)
}