import json


def is_json(string):
    """
    Helper function to determine if a string is valid JSON
    """
    try:
        json_object = json.loads(string)
    except ValueError as e:
        return False
    return True