<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_display_at_native_res(self, should_be_fullscreen=True):
 """Sets the resolution to the display's native resolution. Sets as fullscreen if should_be_fullscreen is true."""

        # Loop through all our display modes until we find one that works well.
        for mode in self.display_modes:
            color_depth = pygame.display.mode_ok(mode)
            if color_depth is not 0:
                if should_be_fullscreen:
                    should_fill = pygame.FULLSCREEN
                else:
                    should_fill = 0

                self.backbuffer = pygame.display.set_mode(mode, should_fill, color_depth)
                break