def getImageURLFromTag(tagObject):
    """
    Return either the URL to the image or False
    """
    try:
        imageURL = tagObject.attrs["href"]
        if imageURL.endswith(".JPG"):
            return imageURL
    except KeyError:
        pass
    return False