'Returns the number of all outstanding requests.
This is used to determine if the flow needs to be destroyed yet.
Returns:
the number of all outstanding requests.'

def OutstandingRequests(self):

    return self.context.outstanding_requests
