if(recv.ip.contains("2.") { //well we know that they're from X co. }
Also, I'm surprised no one called me out on the typo and bug in my code :)