Creates polygons according to the extent of the input layer features.
Determines whether create polygon for each feature (True) or just create single polygon for whole layer (False).
Default: True
processing.runalg('saga:getshapesextents', shapes, parts, extents)