@classmethod
def check_issue(_class, project_id, trace):
    """
        Check whether the issue is new (not in GitLab database) or not
        """
    from models import History
    exists, issue_id = False, None
    checksum = _class.__trace_checksum(trace)
    try:
        history = History.objects.get(project_id=project_id, checksum=checksum)
        exists, issue_id = True, history.issue_id
    except History.DoesNotExist:
        pass
    return exists, issue_id
