from typing import Dict
from typing import Any


def check_first_element_and_populate_current(attribute_details: Dict[str, Any], key: str) -> str:
    """
    Retrieve the value of requested key from the first element of the list

    :param attribute_details: list of properties from which the value is the be retrieved
    :param key: the key whose value is to be fetched
    :return: attribute_value: value of the requested key
    """
    attribute_value = ''
    if attribute_details.get(key, []) and attribute_details.get(key, [])[0].get('current', ''):
        attribute_value = attribute_details.get(key, [])[0].get('value', '')
    return attribute_value