I've not used this, but it looks like it might fit the bill:
tell application "Keyboard Maestro Engine" set result_Boolean to executing end tell
For more information, see the wiki Searching the Forum for Answers section.