function isAnnotatedClassPropsDeclaration(node) {
    if (node && (node.type === 'ClassProperty' || node.type === 'PropertyDefinition')) {
      const tokens = getFirstTokens(context, node, 2);
      if (
        node.typeAnnotation && (
          tokens[0].value === 'props'
          || (tokens[1] && tokens[1].value === 'props')
        )
      ) {
        return true;
      }
    }
    return false;
  }
Checks if we are declaring a `props` class property with a flow type annotation.
@param {ASTNode} node The AST node being checked.
@returns {boolean} True if the node is a type annotated props declaration, false if not.