-spec get_result(_Key) -> _Value.
ANVL condition’s return value is a boolean that specifies presence of side-effects.
If it needs to return any other data,
get_result/1 and anvl_condition:set_result/2 functions can be used.
These functions, essentially, allow setting and accessing global variables.
Note on the code style:
this function must be called only by the same plugin that sets the result.
Plugins must wrap get_result function in a proper API complete with return type.
Raw global variables should never be exposed to the outside,
because it leads to unmaintainable code.