def METHOD_NAME(self, contents: str) -> dict | None:
    '''
    Attempts to deserialize the contents of a JSON object
    :param str contents: The contents to deserialize.
    :return: A dict if the contents are JSON serialized,
        otherwise returns None.
    '''
    try:
        return json.loads(contents)
    except ValueError:
        return None