def check_format(json_string, correct_value):
    """takes the first key from json formatted string and compares it to a desired value"""
    string_start = json_string.split(":", 1)[0]
    first_value = string_start.strip("{")

    return first_value == correct_value