func Bool(v interface{}) bool {
	if v1, ok := v.(bool); ok {
		return v1
	}
	if v1, ok := v.(int); ok {
		return v1 > 0
	}
	if v1, ok := v.(string); ok {
		switch strings.ToLower(v1) {
		case "1", "true", "yes":
			return true
		}
	}
	return false
}
// Bool returns bool value of v if v is a bool,
// or false otherwise.
Bool returns bool value of v if v is a bool,
or false otherwise.
// Bool returns bool value of v if v is a bool // or false otherwise .
func Bool(v interface{}) bool {
	if v1, ok := v.(bool); ok {
		return v1
	}
	if v1, ok := v.(int); ok {
		return v1 > 0
	}
	if v1, ok := v.(string); ok {
		switch strings.ToLower(v1) {
		case "1", "true", "yes":
			return true
		}
	}
	return false
}
func Bool ( v interface { } ) bool { if v1 , ok := v . ( bool ) ; ok { return v1 } if v1 , ok := v . ( int ) ; ok { return v1 > 0 } if v1 , ok := v . ( string ) ; ok { switch strings . ToLower ( v1 ) { case " " , " " , " " : return true } } return false }
Bool returns bool value of v if v is a bool,
or false otherwise.
Bool returns bool value of v if v is a bool or false otherwise .