Added rough is_serialized() function