Checks if a string is included in a picture.