code: def significant_control(self,
                              num,
                              entity_id,
                              entity_type='individual',
                              **kwargs):
          
          # Dict mapping entity_type strings to url strings
          entities = {'individual': 'individual',
                      'corporate': 'corporate-entity',
                      'legal': 'legal-person',
                      'statements': 'persons-with-significant-control-statements',
                      'secure': 'super-secure'}
  
          # Make sure correct entity_type supplied
          try:
              entity = entities[entity_type]
          except KeyError as e:
              msg = ("Wrong entity_type supplied. Please choose from " +
                     "individual, corporate, legal, statements or secure")
              raise Exception(msg) from e
  
          # Construct the request and return the result
          baseuri = (self._BASE_URI +
                     'company/{}/persons-with-significant-control/'.format(num) +
                     '{}/{}'.format(entity, entity_id))
          res = self.session.get(baseuri, params=kwargs)
          self.handle_http_error(res)
          return res
docs: Get details of a specific entity with significant control.
  
          Args:
              num (str, int): Company number to search on.
              entity_id (str, int): Entity id to request details for
              entity_type (str, int): What type of entity to search for. Defaults
                  to 'individual'. Other possible opetions are
                  'corporate' (for corporate entitys), 'legal' (for legal
                  persons), 'statements' (for a person with significant control
                  statement) and 'secure' (for a super secure person).
              kwargs (dict): additional keywords passed into requests.session.get
              *params* keyword.