def is_sedes(obj):
return hasattr(obj, '<STR_LIT>') and hasattr(obj, '<STR_LIT>')<EOL>
Check if `obj` is a sedes object.

    A sedes object is characterized by having the methods `serialize(obj)` and
    `deserialize(serial)`.