Show true or false based on element existence in parent element (multiples)

Hi! I am trying to get a wishlist status for each item (parent) so that it's closer to TRUE/FALSE without post
So currently, if it's not on the wishlist, there will be a p element with an image and the text "ADD TO WISH LIST" in an a element, and if it is, there would just be the text "Item is already on your wishlist" in place. Besides grabbing the text, is there a way for Web Scraper to produce something like TRUE/FALSE based on the existence or not of the p element?

For reference, here's the link, but it requires login

Hi,

You can use the jQuery element:contains('text')

See this article for more information: