code: function checkForIf(node) {
              return node.type === "IfStatement" && hasElse(node) &&
                  naiveHasReturn(node.alternate) && naiveHasReturn(node.consequent);
          }
docs: If the consequent is an IfStatement, check to see if it has an else
  and both its consequent and alternate path return, meaning this is
  a nested case of rule violation.  If-Else not considered currently.
  
  @param {Node} node The consequent node
  @returns {boolean} True if this is a nested rule violation