Need Help understanding question

on 7.9.2 Part 2 number 2 letter b. It says 1. Look for the sequence 'CAT' with indexOf(). If found print, 'CAT found', otherwise print, 'CAT NOT found'. Im having a hard time understanding if this is asking for a conditional to be created.

Https://education.launchcode.org/intro-to-professional-web-dev/chapters/strings/exercises.html#part-one