def check_in_whitelist(whitelist_set, movie_name, zmw_id):
    """
    >>> check_in_whitelist([], 'foo', '1')
    False
    >>> check_in_whitelist(['bar/1'], 'foo', '1')
    False
    >>> check_in_whitelist(['foo/1'], 'foo', '1')
    True
    """
    movie_zmw = '{}/{}'.format(movie_name, zmw_id)
    return movie_zmw in whitelist_set