<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def next_img_ws(self, ws, loop=True):
 """Go to the next image in the focused channel in the workspace. """

        channel = self.get_active_channel_ws(ws)
        if channel is None:
            return
        channel.next_image()
        return True