human
Give me a Python function to get a boolean from a json object.
assistant
Here is a Python function to get a boolean from a json object

import json

def get_boolean(json_object):
    """
    Gets boolean from json object.
    """
    return json_object["boolean"]

# Enter the json object
json_object = {"boolean": True}

# Calling the function
print((get_boolean(json_object)))

#Example Output
# True

#Remember to inspect code for bugs.