func ConfigItemExists(item string) bool {
	_, exists := VConfig[item]
	return exists
}
ConfigItemExists checks if a given item is present
package conf
import (
	ht "V-switch/tools"
	"bufio"
	"log"
	"os"
	"path/filepath"
	"strings"
)
var VConfig map[string]string
func init() {
	VConfig = make(map[string]string)
	GConfigFile := filepath.Join(ht.Hpwd(), "etc", "vswitch.conf")
	readConfig(GConfigFile)
	confCheck()
}
func StartConfig() {
	log.Println("[CONF] Config Engine Init")
}
func serializeConf(line string) {
	splitter := func(c rune) bool {
		return (c == ' ' || c == '=')  
	}
	split := strings.FieldsFunc(line, splitter)
	if len(split) != 0 {
		VConfig[split[0]] = split[1]
		log.Printf("[CONF]: %q -> %q\r\n", split[0], split[1])
	}
}
func readConfig(FileName string) {
	file, err := os.Open(FileName)
	if err != nil {
		log.Printf("[CONF] can't open file %s", FileName)
	}
	defer file.Close()
	scanner := bufio.NewScanner(file)
	for scanner.Scan() {
		line := scanner.Text()
		serializeConf(line)
	}
	file.Close()
}