func (page TenantPage) IsEmpty() (bool, error) {
	tenants, err := ExtractTenants(page)
	if err != nil {
		return false, err
	}
	return len(tenants) == 0, nil
}
IsEmpty determines whether or not a page of Tenants contains any results.
package tenants
import (
	"github.com/mitchellh/mapstructure"
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type Tenant struct {
	ID string `mapstructure:"id"`
	Name string `mapstructure:"name"`
	Description string `mapstructure:"description"`
	Enabled bool `mapstructure:"enabled"`
}
type TenantPage struct {
	pagination.LinkedPageBase
}