How to do if and Else

I want to do so. If what was entered into the search feed is found then it is true, if it is not found then it is an error.

@abdibaitelis1 A suggestion could be to turn the search feed into an object to get the text and use WebUI.verifyTextPresent(), which the keyword pretty much checks whether the text/result is present or not, and it returns a boolean value. You can check the doc [WebUI] Verify Text Present | Katalon Docs for more info.