So this won't evaluate correctly.

Say that ``project = ['foo', 'bar', 'baz']`` and that ``link = 'https://fedorahosted.org/bar/'``

On the first iteration of the loop, valid will be set to False.
On the second, valid will be set to True.
On the third it will be set to False again, and then return False.

It should return True since ``'bar'`` is one of the listed projects.