        }
    }

    pub fn contains(&self, remote_addr: &IpAddr) -> bool {
        for proxy in &self.0 {
            if proxy.contains(remote_addr) {
                return true;
            }
        }

        false
    }

    pub fn remove_trusted_ips(&self, sorted_ips: Vec<IpAddr>) -> Vec<IpAddr> {