function isDisplayNameDeclaration(node) {
  switch (node.type) {
    case 'ClassProperty':
    case 'PropertyDefinition':
      return node.key && node.key.name === 'displayName';
    case 'Identifier':
      return node.name === 'displayName';
    case 'Literal':
      return node.value === 'displayName';
    default:
      return false;
  }
}
Checks if we are declaring a display name
@param {ASTNode} node The AST node being checked.
@returns {boolean} True if we are declaring a display name, false if not.