function hasAttribute(node, name, value) {
  return Boolean(getAttribute(node, name, value))
}
Check whether the given start tag has specific directive.
@param {VElement} node The start tag node to check.
@param {string} name The attribute name to check.
@param {string} [value] The attribute value to check.
@returns {boolean} `true` if the start tag has the attribute.