decode

Returns a valid LocalitiesStatus for data, null otherwise.