func (p FloatingIPPage) IsEmpty() (bool, error) {
	is, err := ExtractFloatingIPs(p)
	if err != nil {
		return true, nil
	}
	return len(is) == 0, nil
}
IsEmpty checks whether a NetworkPage struct is empty.
package floatingips
import (
	"fmt"
	"github.com/mitchellh/mapstructure"
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type FloatingIP struct {
	ID string `json:"id" mapstructure:"id"`
	FloatingNetworkID string `json:"floating_network_id" mapstructure:"floating_network_id"`
	FloatingIP string `json:"floating_ip_address" mapstructure:"floating_ip_address"`
	PortID string `json:"port_id" mapstructure:"port_id"`
	FixedIP string `json:"fixed_ip_address" mapstructure:"fixed_ip_address"`
	TenantID string `json:"tenant_id" mapstructure:"tenant_id"`
	Status string `json:"status" mapstructure:"status"`
}
type commonResult struct {
	gophercloud.Result
}
func (r commonResult) Extract() (*FloatingIP, error) {
	if r.Err != nil {
		return nil, r.Err
	}
	var res struct {
		FloatingIP *FloatingIP `json:"floatingip"`
	}
	err := mapstructure.Decode(r.Body, &res)
	if err != nil {
		return nil, fmt.Errorf("Error decoding Neutron floating IP: %v", err)
	}
	return res.FloatingIP, nil
}
type CreateResult struct {
	commonResult
}
type GetResult struct {
	commonResult
}
type UpdateResult struct {
	commonResult
}
type DeleteResult struct {
	gophercloud.ErrResult
}
type FloatingIPPage struct {
	pagination.LinkedPageBase
}
func (p FloatingIPPage) NextPageURL() (string, error) {
	type resp struct {
		Links []gophercloud.Link `mapstructure:"floatingips_links"`
	}
	var r resp
	err := mapstructure.Decode(p.Body, &r)
	if err != nil {
		return "", err
	}
	return gophercloud.ExtractNextURL(r.Links)
}