pub fn has_keyval(prefix: &str, keyset: &str, key: &str) -> bool
check if a key-value pair is defined