<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def createforkrelation(self, project_id, from_project_id):
 """ Create a fork relation. This DO NOT create a fork but only adds a link as fork the relation between 2 repositories :param project_id: project id :param from_project_id: from id :return: true if success """

        data = {'id': project_id, 'forked_from_id': from_project_id}

        request = requests.post(
            '{0}/{1}/fork/{2}'.format(self.projects_url, project_id, from_project_id),
            headers=self.headers, data=data, verify=self.verify_ssl,
            auth=self.auth, timeout=self.timeout)

        if request.status_code == 201:
            return True
        else:
            return False