The is () detected? block checks whether the selected class has been detected or not. If the class is detected, then the block returns true; else, false.

The is () detected? block checks whether the selected class has been detected or not. If the class is detected, then the block returns true; else, false.
