That's one big part of what Google does, and it's part of why it's so hard to get Google to accept self hosted email. They have a list of known good hosts (that they effectively "peer" with), and if you're not on that list your mail may or may not make it into a Gmail inbox.