Checkout UI extension And Shopify billing Subscription status

How to check the subscription status in checkout UI extension and only show the app blocks if the subscription status is “ACTIVE”

Please give any solutions or ideas.