クライアント側のJavaScriptで、現在のユーザーがプライベートグループのメンバーかどうかを確認する方法はありますか?

For the current user, this will be done soon:

This will be enough for you to

and is the exact use case I had in mind.