def do_any_are_in(candidates, bucket):
    """
    :param candidates: [] of *
        List of objects
    :param bucket: [] of *
        List of objects
    :return: bool
        True iff any object of the first list is in bucket
    """

    for candidate in candidates:
        if candidate in bucket:
            return True
    return False