URL Checker

The images stored in my app are URLs pointing to images on a third party site. Occasionally that site changes these URL. Can we have a function that checks URLs and returns status?