def METHOD_NAME(input, event, previousFids, currentFids):
    nextRequest = findNextRequest(input)
    if nextRequest == None:
        # handles the case of reissues that do not change the view; seems to occur on java
        if event[1] == "requesting" and event[4] == "reissue":
            return
        print "did not find a request for event [", event, "]"
        sys.exit(1)
    else:
        extractedFids = extractFidsFromRequestMsg(nextRequest)
        if extractedFids == currentFids:
            return
        elif not extractedFids: # if the fids did not change, the request has no fids (containerType="RSSL_DT_NO_DATA")
            if previousFids == currentFids:
                return
            else:
                print "request message had no fids but previous fids (", previousFids, ") did not match new fids (", currentFids, ")"
                sys.exit(1)
        else:
            print "failed to matched fids: expected", currentFids, "; got ", extractedFids
            sys.exit(1)