def check_url(image_url):
    conn = urlopen(image_url)
    if (not (conn.getcode() == 200)):
        return 1
def check_url(image_url):
    conn = urlopen(image_url)
    if (not (conn.getcode() == 200)):
        return 1