Default wait for element timeout (in seconds) - how to get that via script?

See

In there I found a code snippet:

int timeout = KeywordHelper.checkTimeout(RunConfiguration.getTimeOut())

I am not sure if it is what you want.