membership - How to check if subscriber is expired

would like to display something to readers who have subscribed, but their subscription has ended. What code would i need for that? thanks.