def get_isTaskCreated()

in assets/ComprehendTask.py [0:0]


def get_isTaskCreated(contactID, dynamodb=None):   
    if not dynamodb:
        dynamodb = boto3.resource('dynamodb')
        table = dynamodb.Table('TrackingTask')
        response = table.get_item(Key={'ContactID': contactID})
        print('get_isTaskCreated() response: ', response['Item'])
    return response['Item']