'Get stored module result.
Get the modle result stored in the session structure.
Args:
field (string): The key name which contains the result.
module (string): The module name. If not set, the current
module is used.
default: The value to be returned in case key does not exist.'

def _get_stored_result(self, field, module=None, default=None):

    if (module is not None):
        return self.session[module]['results'].get(field, default)
    else:
        return self.session.get(field, default)
