<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def outline(dataset, generate_faces=False):
 """Produces an outline of the full extent for the input dataset. Parameters generate_faces : bool, optional Generate solid faces for the box. This is off by default """

        alg = vtk.vtkOutlineFilter()
        alg.SetInputDataObject(dataset)
        alg.SetGenerateFaces(generate_faces)
        alg.Update()
        return wrap(alg.GetOutputDataObject(0))