code: def get_analysis_data_by_title(self, ar_data, title):
          
          analyses = ar_data.get("analyses", [])
          for analysis in analyses:
              if analysis.get("title") == title:
                  return analysis
          return None
docs: A template helper to pick an Analysis identified by the name of the
          current Analysis Service.
  
          ar_data is the dictionary structure which is returned by _ws_data