def _check_missing(configured, expected):
    """Check if an item of the expected list is in configured, returns a list
    containing the items not found"""
    missing = []
    for item in expected:
        if not item in configured:
            missing.append(item)
    return missing