<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_per_page(self, entries=100):
 """ set entries per page max 200 """

        if isinstance(entries, int) and entries <= 200:
            self.per_page = int(entries)
            return self
        else:
            raise SalesKingException("PERPAGE_ONLYINT", "Please set an integer <200 for the per-page limit");