func (p MonitorPage) IsEmpty() (bool, error) {
	is, err := ExtractMonitors(p)
	if err != nil {
		return true, nil
	}
	return len(is) == 0, nil
}
IsEmpty checks whether a PoolPage struct is empty.
package monitors
import (
	"github.com/mitchellh/mapstructure"
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type Monitor struct {
	ID string
	TenantID string `json:"tenant_id" mapstructure:"tenant_id"`
	Type string
	Delay int
	Timeout int
	MaxRetries int `json:"max_retries" mapstructure:"max_retries"`
	HTTPMethod string `json:"http_method" mapstructure:"http_method"`
	URLPath string `json:"url_path" mapstructure:"url_path"`
	ExpectedCodes string `json:"expected_codes" mapstructure:"expected_codes"`
	AdminStateUp bool `json:"admin_state_up" mapstructure:"admin_state_up"`
	Status string
}
type MonitorPage struct {
	pagination.LinkedPageBase
}
func (p MonitorPage) NextPageURL() (string, error) {
	type resp struct {
		Links []gophercloud.Link `mapstructure:"health_monitors_links"`
	}
	var r resp
	err := mapstructure.Decode(p.Body, &r)
	if err != nil {
		return "", err
	}
	return gophercloud.ExtractNextURL(r.Links)
}