def isPotentialMatch(candidate: str, hints: str, guessedLetter: str) -> bool:
    """Given candidate string, string of hints in form of 011010 and guessed letter decide whether given candidate matches hint"""
    for serv_let, cand_let in zip(hints, candidate):
        if serv_let == "0" and cand_let == guessedLetter:
            return False
        elif serv_let == "1" and cand_let != guessedLetter:
            return False
    return True