function isSuperTypeParameterPropsDeclaration(node) {
  if (node && (node.type === 'ClassDeclaration' || node.type === 'ClassExpression')) {
    const parameters = propsUtil.getSuperTypeArguments(node);
    if (parameters && parameters.params.length > 0) {
      return true;
    }
  }
  return false;
}
Checks if we are declaring a props as a generic type in a flow-annotated class.

@param {ASTNode} node  the AST node being checked.
@returns {boolean} True if the node is a class with generic prop types, false if not.