function isForbidden(forbidMap, prop, tagName) {
  const options = forbidMap.get(prop);
  return options && (
    typeof tagName === 'undefined'
    || !options.disallowList
    || options.disallowList.indexOf(tagName) !== -1
  );
}
@param {Map<string, object>} forbidMap // { disallowList: null | string[], message: null | string }
@param {string} prop
@param {string} tagName
@returns {boolean}