<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def wrap_lines(self, text, indent_level, indent_size=4):
 """Indent a multiline string Args: text (string):
 The string to indent indent_level (int):
 The number of indent_size spaces to prepend to each line indent_size (int):
 The number of spaces to prepend for each indent level Returns: string: The indented block of text """


        indent = ' '*indent_size*indent_level
        lines = text.split('\n')

        wrapped_lines = []

        for line in lines:
            if line == '':
                wrapped_lines.append(line)
            else:
                wrapped_lines.append(indent + line)

        return '\n'.join(wrapped_lines)