<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def persons_significant_control(self, num, statements=False, **kwargs):
 """Search for a list of persons with significant control. Searches for persons of significant control based on company number for a specified company. Specify statements=True to only search for officers with statements. Args: num (str, int):
 Company number to search on. statements (Optional[bool]):
 Search only for persons with statements. Default is False. kwargs (dict):
 additional keywords passed into requests.session.get *params* keyword. """

        baseuri = (self._BASE_URI +
                   'company/{}/persons-with-significant-control'.format(num))

        # Only append statements to the URL if statements is True
        if statements is True:
            baseuri += '-statements'

        res = self.session.get(baseuri, params=kwargs)
        self.handle_http_error(res)
        return res