def test_analysis(sampleinfo):
    """Test if it's a supported version of MIP."""
    status = sampleinfo['analysisrunstatus']
    if status != 'finished':
        return False
    if not sampleinfo['mip_version'].startswith('v4.'):
        return False
    return True
