protected static Element getChildElement(Element element, String namespace) {
        //noinspection unchecked
        List<Element> elements = element.elements();
        if (elements.isEmpty()) {
            return null;
        }
        for (Element childElement : elements) {
            String childNamespace = childElement.getNamespaceURI();
            if (namespace.equals(childNamespace)) {
                return childElement;
            }
        }

        return null;
    }
Returns true if the proxy transfer should be matched to an existing file transfer
in the system.

@return Returns true if the proxy transfer should be matched to an existing file
transfer in the system.
xmppserver/src/main/java/org/jivesoftware/openfire/filetransfer/DefaultFileTransferManager.java