function isRefAttribute(node) {
      return node.type === 'JSXAttribute'
        && !!node.name
        && node.name.name === 'ref';
    }
Checks if we are using a ref attribute
@param {ASTNode} node The AST node being checked.
@returns {boolean} True if we are using a ref attribute, false if not.