How to check the AppleCare warranty status on your iPhone, iPad, Watch, TV, or Mac
If you aren't sure whether your iPhone, iPad, or Mac is still covered under AppleCare, you can check the status of your device from Apple's Warranty Status website.
Source: imore.com