function isComponentInsideCreateElementsProp(node) {
      if (!components.get(node)) {
        return false;
      }

      const createElementParent = getClosestMatchingParent(node, context, isCreateElementMatcher);

      return (
        createElementParent
        && createElementParent.arguments
        && createElementParent.arguments[1] === getClosestMatchingParent(node, context, isObjectExpressionMatcher)
      );
    }
Check whether given node is declared inside `createElement` call's props
```js
React.createElement(Component, {
  footer: () => React.createElement("div", null)
})
```
@param {ASTNode} node The AST node
@returns {boolean} True if node is declare inside `createElement` call's props, false if not