How to fail a test if the condition is false?

import com.kms.katalon.core.util.KeywordUtil
...
KeywordUtil.markFailed("X is greater than Y")