func (r *ProtocolLXD) HasExtension(extension string) bool {
	// If no cached API information, just assume we're good
	// This is needed for those rare cases where we must avoid a GetServer call
	if r.server == nil {
		return true
	}

	for _, entry := range r.server.APIExtensions {
		if entry == extension {
			return true
		}
	}

	return false
}
func (r *ProtocolLXD) HasExtension(extension string) bool {
	
	
	if r.server == nil {
		return true
	}

	for _, entry := range r.server.APIExtensions {
		if entry == extension {
			return true
		}
	}

	return false
}
func ( r * ProtocolLXD ) HasExtension ( extension string ) bool { // If no cached API information, just assume we're good // This is needed for those rare cases where we must avoid a GetServer call if r . server == nil { return true } for _ , entry := range r . server . APIExtensions { if entry == extension { return true } } return false }
// HasExtension returns true if the server supports a given API extension
HasExtension returns true if the server supports a given API extension