def check_json(data, name):
    """
        Check if 'name' should be inhibited according to json 'data'
        return bool True if the box should go down
    """
    for force in data['force_desinhibit']:
        if force in name:
            return True
    for inhib in data['inhibit']:
        if inhib in name:
            return False
    return True