function _hasKeys(o: {[string]: mixed}) {
  for (const k in o) {
    return true;
  }
  return false;
}
_hasKeys takes an object and returns whether it has any keys. It purposefully
avoids creating the temporary arrays incurred by calling Object.keys(o)
@param {Object} o - Example: "allSubstitutions"