def dict_pick(content, key, value, needle=True):
    """Find match in a list of dicts based on key/value."""
    item = next((item for item in content if item[key] == value), None)
    if item and needle:
        return item['value']