Are guys only friends with girls who they find attractive?

I hear this all the time.. is it true? I have a lot of guy friends and now I just feel weird about it.