class Sanitize::CSS

def image_function?(name)

that may contain image URLs that need to be validated.
Returns `true` if the given CSS function name is an image-related function
def image_function?(name)
  ['image', 'image-set', '-webkit-image-set'].include?(name)
end