function filteredNetworkNodes(p2pNetworkNodes, filters) {
        const me = whoami()
        const validNetworkNodes = p2pNetworkNodes.filter(isValidNetworkNode)
        if(filters !== undefined) {
            let filteredList = validNetworkNodes
            if (filters.onlyMe) {
                filteredList = filteredList.filter(n => n.userProfile.name == me)
                if(filters.includeLocalNetworks !== undefined && !filters.includeLocalNetworks) {
                    filteredList = filteredList.filter(!isLocalNetwork(n.node.config.host))
                }
                else if(filters.excludeLocalhost !== undefined && filters.excludeLocalhost) {
                    filteredList = filteredList.filter(n => !isLocalhost(n.config.host))
                }
                return filteredList
            }
            if (filters.users !== undefined && filters.users.length > 0) {
                filteredList = filteredList.filter(n => filters.users.indexOf(n.userProfile.name) > -1)
                if(!!filters.includeLocalNetworks) {
                    return filteredList
                }
                if(filters.excludeLocalhost !== undefined && filters.excludeLocalhost) {
                    return filteredList.filter(n => !isLocalhost(n.config.host))
                }
                return filteredList.filter(n => !isLocalNetwork(n.node.config.host))
            }
            if(filters.includeLocalNetworks !== undefined && !filters.includeLocalNetworks) {
                return filteredList.filter(n => !isLocalNetwork(n.node.config.host))
            }
            if(filteredList = filteredList.filter(n => !isLocalhost(n.config.host))) {
                return filteredList.filter(n => !isLocalhost(n.config.host))
            }
        }
        return validNetworkNodes
    }
The default will return a full list including all local network addresses, 
to change this behaviour filters need to be applied

@param {Network[]} p2pNetworkNodes 
@param {Filters | undefined} filters
@returns {Network[]}