def json_value_available(o, k):
    """
    Check out o[k].
    :param o: object
    :param k: key
    :return: boolean
    """
    try:
        o[k]
        return True
    except KeyError:
        return False