'This is a helper method that returns True if the method
audit_return_vulns is in the call stack.
Please note that this method is *very* slow (because of the inspect
module being slow) and should only be called when audit_return_vulns
was previously called.'

def _audit_return_vulns_in_caller(self):

    the_stack = inspect.stack()
    for (_, _, _, function_name, _, _) in the_stack:
        if (function_name == 'audit_return_vulns'):
            return True
    return False
