// @attribute <server.has_flag[<flag_name>]>
// @returns Element(boolean)
// @description
// returns true if the server has the specified flag, otherwise returns false.
// -->
if (attribute.startsWith("has_flag")) {
String flag_name;
if (attribute.hasContext(1)) flag_name = attribute.getContext(1);
else {
event.setReplaced("null");
return;