I found a code today where an enumerable is being checked for null or empty using static IsNullOrEmpty method exposed through Microsoft.IdentityModel.Tokens.
Now in Microsoft documentation it is listed under confidential client. My question is around the usage of it. Can this be used for any enumerable in any use case or is it recommended to use it in certain use cases? I don't find it normal to use such a functionality exposed by Microsoft.IdentityModel.Tokens. What could have been the intention? https://learn.microsoft.com/en-us/dotnet/api/microsoft.identitymodel.tokens.collectionutilities.isnullorempty?view=msal-web-dotnet-latest