human
I wrote the below code

    def context_value():
        keys = [key for key in get_backends().keys()]
        accounts = dict(zip(keys, ([None] * len(keys))))
        user = request.user
        if (hasattr(user, 'is_authenticated') and user.is_authenticated()):
            accounts.update(((assoc.provider, assoc) for assoc in UserSocialAuth.get_social_auth_for_user(user)))
        return accounts
    return {'social_auth': LazyDict(context_value)}

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def social_auth_by_name_backends(request):