'Traverse the tree below node looking for \'return expr\'.
Return True if at least \'return expr\' is found, False if not.
(If both \'return\' and \'return expr\' are found, return True.)'

def has_return_exprs(self, node):

    results = {}
    if self.return_expr.match(node, results):
        return True
    for child in node.children:
        if (child.type not in (syms.funcdef, syms.classdef)):
            if self.has_return_exprs(child):
                return True
    return False
