Is the phone still under warranty?

iPhones - 12 months

All other models - 24 months

YES

NO

How can I tell?