Getter for the state of warnings. Returns true if enabled.

getWarnings()

Value

Boolean to indicate whether warnings are enabled or not.