code: def search(self, q, labels, state='open,closed', **kwargs):
          
          search_result = self.github_request.search(q=q, state=state, **kwargs)
          if search_result['total_count'] > 0:
              return list(
                  map(lambda issue_dict: GithubIssue(
                      github_request=self.github_request, **issue_dict),
                      search_result['items'])
              )
docs: Search for issues in Github.
  
          :param q: query string to search
          :param state: state of the issue
          :returns: list of issue objects
          :rtype: list