Fix incorrect code line based on old libmadx API
Return strings from _str consistently
Add function libmadx.is_expanded
Add libmadx.__all__ (list of automatic exports)