def get_value_from_dict_list(iterable, key, value):
    """get_value_from_dict_list method will check the key exists and matches with the value \
    in a iterable of dicts, and returns it if present.

    :param iterable:
    :param key: str, Key to check
    :param value: str, value to check
    :return: dict if present else None
    """
    for item in iterable:
        if key in item.keys() and item[key] == value:
            return item

    return None
get_value_from_dict_list method will check the key exists and matches with the value     in a iterable of dicts, and returns it if present.

    :param iterable:
    :param key: str, Key to check
    :param value: str, value to check
    :return: dict if present else None
    
Solutions/SecurityScorecard Cybersecurity Ratings/Data Connectors/SecurityScorecardIssue/SecurityScorecardIssueSentinelConnector/utils.py