url_is_image

Arguments: $url (strong)

Return: $res (bool)

Checks file extensions and returns true if the it is an image.