def inInfo(item,info,alt='None'):
    """
        Checks if item is in given list.
        return item if true, else return alt
        Args:
            item: the item to be compared
            info: the list to be checked
            alt: alternative output
    """
    if item in info:
        return info[item]
    return alt if alt=='None' else info[alt]