def check_used_openids(identity_urls, ignored_owner=None):
    query = _OpenIDUserMapping.query.filter(
        _OpenIDUserMapping.identity_url.in_(identity_urls)
    )
    if ignored_owner:
        query = query.filter(_OpenIDUserMapping.user != ignored_owner)
    return set([x.identity_url for x in query.all()])
Returns a set of all the identity URLs from the list of identity
dataset/ETHPy150Open mitsuhiko/solace/solace/auth.py/check_used_openids