public static boolean isStreamManagementNonza(@Nullable final Element fragment) {
        return fragment != null
            && NAMESPACE.equals(fragment.getNamespaceURI())
            && Set.of("active", "inactive").contains(fragment.getName());
    }
Checks if an XML fragment is recognized as a CSI nonza

@param fragment the XML to evaluate
@return true if the XML is recognized as a CSI nonza, otherwise false.
xmppserver/src/main/java/org/jivesoftware/openfire/csi/CsiManager.java