(url)
return bool(re.search(r"flickr\.com.*\.(jpg|jpeg|png|gif)", url))
Returns True if the URL represents a Flickr images

    >>> is_flickr_image('https://farm9.staticflickr.com/8747/12346789012_bf1e234567_b.jpg')
    True

    >>> is_flickr_image('http://www.example.com/podcast.mp3')
    False

    >>> is_flickr_image(None)
    False
Returns True if the URL represents a Flickr images
Returns True if the URL represents a Flickr images
def is_flickr_image(url):
    """Returns True if the URL represents a Flickr images

    >>> is_flickr_image('https://farm9.staticflickr.com/8747/12346789012_bf1e234567_b.jpg')
    True

    >>> is_flickr_image('http://www.example.com/podcast.mp3')
    False

    >>> is_flickr_image(None)
    False
    """

    if url is None:
        return False
    return bool(re.search(r"flickr\.com.*\.(jpg|jpeg|png|gif)", url))
def is_flickr_image ( url ) : if url is None : return False return bool ( re . search ( r"flickr\.com.*\.(jpg|jpeg|png|gif)" , url ) )