if script does not implement context.abort() or context.checkAborted() then it does not make sense to show 'Abort' button
3 ways to improve it:
a) use AST to check if that method is called
b) check script contents and find occurrence of these "strings"
c) use Groovy doc annotation ; like in #234
d) GUI notification - "code does not seem to be abortable" / tooltip