def issuecommentcheck()

in tools/notifications.py [0:0]


def issuecommentcheck(GITHUB_REPOSITORY, number):
    print('Checking if the notification has already been sent...')
    try:
        status = False
        response = requests.get('https://api.github.com/repos/'+ GITHUB_REPOSITORY +'/issues/'+ str(number) +'/comments')
        for comment in response.json():
            body = comment['body']
            if(body.startswith('<!-- Notification Check -->')):
                # print(body)
                status = True
                break
        return status
    except requests.exceptions.RequestException as e: 
        raise SystemExit(e)