def check(status):
    """Check the status since it's complicated."""
    chk = status['state'] != 'OK'
    chk |= status['task'] != 'ingest metadata'
    chk |= int(float(status['task_percent'])) != 100
    return chk
