def get_connection_name(connection_id, friend_list):
    """
        Given a mutual friends' ID, check the given list of Facebook friends and extract the name.

        :param connection_id:       Connection's (mutual friend) Facebook ID.
        :type connection_id:        str
        :param friend_list:         List of Facebook friends.
        :type friend_list:          list of pynder.models.friend.Friend
        :return:                    Friend's name.
        :rtype:                     str
    """
    for friend in friend_list:
        if connection_id == friend.facebook_id:
            return friend.name
    return ''