I'd rather not make it more generic for now, besides taking "project" as an argument. It's more complicated to check for multiple parameters with '&' and not just '?'

I can put this function in util, but until and unless we need more complicated functionality I don't want to do anything else.

I'll take care of this once I get home.