<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_pandas(cls, index):
 """Create baloo MultiIndex from pandas MultiIndex. Parameters index : pandas.multi.MultiIndex Returns ------- MultiIndex """

        from pandas import MultiIndex as PandasMultiIndex
        check_type(index, PandasMultiIndex)

        baloo_level_values = [Index.from_pandas(index.get_level_values(level))
                              for level in range(len(index.levels))]

        return MultiIndex(baloo_level_values, list(index.names))