function setInitialStateProps(node, parent = {}, inheritChecked = true) {
  const stateProps = inheritChecked ? ['checked', 'disabled'] : ['disabled']
  for (let index = 0; index < stateProps.length; index++) {
    const prop = stateProps[index]

    // if and only if, node doesn't explicitly define a prop, grab it from parent
    if (node[prop] === undefined && parent[prop] !== undefined) {
      node[prop] = parent[prop]
    }
  }
}
If the node didn't specify anything on its own
figure out the initial state based on parent
@param {object} node           [current node]
@param {object} parent         [node's immediate parent]
@param {bool}   inheritChecked [if checked should be inherited]