export function checkItem (key, props) { return props && props.has(key) ? props.get(key) : false } export function checkToggle (key, props) { return props && props.has(key) ? props.get(key) === "true" : false }