function isClass(node) {
  return node.type === 'ClassDeclaration' || node.type === 'ClassExpression';
}
Checks if the node is a class.
@param {ASTNode} node The node to check
@return {boolean} true if it's a class