code: def find_kw(ar_or_sample, kw):
      
      for analysis in find_analyses(ar_or_sample):
          if kw in get_interims_keywords(analysis):
              return analysis.getKeyword()
      return None
docs: This function is used to find keywords that are not on the analysis
          but keywords that are on the interim fields.
  
          This function and is is_keyword function should probably be in
          resultsimport.py or somewhere central where it can be used by other
          instrument interfaces.