is_mpl_string refactor