code: def _sample_type(self, sample=None):
          
          data = {}
          sampletype = sample.getSampleType() if sample else None
          if sampletype:
              data = {'obj': sampletype,
                      'id': sampletype.id,
                      'title': sampletype.Title(),
                      'url': sampletype.absolute_url()}
          return data
docs: Returns a dict that represents the sample type assigned to
              the sample specified
              Keys: obj, id, title, url