def is_top_author(s, tops):
    """Whether any member of `s` is member of `tops`."""
    try:
        s = set([int(a) for a in s])
        return int(len(s.intersection(tops)) > 0)
    except TypeError:
        return 0