def _is_atomic(value):
    """Return True if value is of a JSON atomic type, False otherwise."""
    return (value is None or
            isinstance(value, bool),
            isinstance(value, int) or
            isinstance(value, float) or
            isinstance(value, str))