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