Create a function that checks if the provided link is an image or not
The function should return true if the provided link is an image and false if not