<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deletelabel(self, project_id, name):
 """ Deletes a label given by its name. :param project_id: The ID of a project :param name: The name of the label :return: True if succeed """

        data = {'name': name}

        request = requests.delete(
            '{0}/{1}/labels'.format(self.projects_url, project_id), data=data,
            verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout)

        return request.status_code == 200