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