def is_this_list(lst: list, count: int) -> bool:
    """
    Returns true iff the list is not empty and the last item of the list equals the 'count'

    :param lst:
    :param count:
    :return:
    """
    return len(lst) > 0 and lst[-1] == count