Supporting Public Charities that Lobby

Can a private foundation make a grant to a public charity that lobbies?