def get_ids_for(f: Callable[([Dict[(str, Any)]], bool)]) -> Set[int]:
    'Only includes users on the explicit message to line'
    return ({row['id'] for row in rows if f(row)} & message_to_user_id_set)
Only includes users on the explicit message to line
def get_ids_for(f: Callable[([Dict[(str, Any)]], bool)]) -> Set[int]:
    
    return ({row['id'] for row in rows if f(row)} & message_to_user_id_set)