func (n NetworkMode) IsUserDefined() bool {
	return !n.IsDefault() && !n.IsNone() && !n.IsBridge()
}
IsUserDefined indicates user-created network
package container
import (
	"strings"
)
func (n NetworkMode) IsDefault() bool {
	return n == "default"
}
func (n NetworkMode) IsNone() bool {
	return n == "none"
}
func (n NetworkMode) IsContainer() bool {
	return false
}
func (n NetworkMode) IsBridge() bool {
	return n == "nat"
}
func (n NetworkMode) IsHost() bool {
	return false
}
func (n NetworkMode) IsPrivate() bool {
	return !(n.IsHost() || n.IsContainer())
}
func (n NetworkMode) ConnectedContainer() string {
	return ""
}