function isInsideRenderMethod(node) {
      const parentComponent = utils.getParentComponent(node);

      if (!parentComponent || parentComponent.type !== 'ClassDeclaration') {
        return false;
      }

      return (
        node
        && node.parent
        && node.parent.type === 'MethodDefinition'
        && node.parent.key
        && node.parent.key.name === 'render'
      );
    }
Check whether given node is declared inside class component's render block
```jsx
class Component extends React.Component {
  render() {
    class NestedClassComponent extends React.Component {
...
```
@param {ASTNode} node The AST node being checked
@returns {boolean} True if node is inside class component's render block, false if not