<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def createrepositorytag(self, project_id, tag_name, ref, message=None):
 """ Creates new tag in the repository that points to the supplied ref :param project_id: project id :param tag_name: tag :param ref: sha1 of the commit or branch to tag :param message: message :return: dict """


        data = {'id': project_id, 'tag_name': tag_name, 'ref': ref, 'message': message}
        request = requests.post(
            '{0}/{1}/repository/tags'.format(self.projects_url, project_id), data=data,
            verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout)

        if request.status_code == 201:
            return request.json()
        else:
            return False