When someone registers a project in Launchpad they specify the licence under which their code is distributed. If Launchpad doesn't already know about that licence, one of the team reviews it to make sure it complies with Launchpad's free software licensing terms.