Question: Using event delegation, you can listen for events on a lot of different items without having to attach separate listeners to each one. But there are times when you may want to check the type of item receiving the event before doing anything, such as checking if an image was clicked versus a text field. Given the starter code below, which choice shows what jQuery provides to help with that process?

  1. `$($target.get(0) + ':image')`
  2. `$('img').is($target)`
  3. `$target.filter('img')`
  4. `$target.is('img')`

Answer: The correct answer of the above question is Option D:`$target.is('img')`