Check user if subscribed to my channel

That code is helping me a lot in the TWITCH API, that’s why I want to continue using and expanding it. Thanks for the help