def isImage(url):
    """Check if url is related to an image

    Args:
      url (string): string

    Returns:
      boolean: return true if url is referring to an image 
    """
    return \
        url.endswith(".png") or \
        url.endswith(".jpg") or \
        url.endswith(".jpeg") or \
        url.endswith(".svg")