The block checks if the currently recognized class from the analyze image from () block is the selected class or not.