def METHOD_NAME(self, ctl_type, max_results, tokens, control_ids, error_code=None):
    expected_params = {'controlType': ctl_type, 'maxResults': max_results}
    if tokens[0] is not None:
        expected_params['nextToken'] = tokens[0]
    response = {'controlMetadataList': [{'id': ctl_id} for ctl_id in control_ids]}
    if tokens[1] is not None:
        response['nextToken'] = tokens[1]
    self._stub_bifurcator(
        'list_controls', expected_params, response, error_code=error_code)