function hasEqual(attrNode) {
      return attrNode.type !== 'JSXSpreadAttribute' && attrNode.value !== null;
    }
Determines a given attribute node has an equal sign.
@param {ASTNode} attrNode - The attribute node.
@returns {boolean} Whether or not the attriute node has an equal sign.