def safe_list_index(lst, idx):
    """
    Safely access a list index.

    Args:
        lst (list): The input list.
        idx (int): The index to access.

    Returns:
        The value at the specified index if it exists, otherwise None.
    """
    try:
        return lst[idx]
    except IndexError:
        return None