def METHOD_NAME(event: dict):
    try:
        # Validate the keys
        assert (set(event.keys()) == {'bids', 'asks'})
        # Validate the internal types
        assert (isinstance(event['bids'][0], tuple))
        assert (isinstance(event['asks'][0], tuple))
        return True
    except AssertionError:
        return False