code: def ends_at(self, time_point):
          
          if not isinstance(time_point, TimeValue):
              raise TypeError(u"time_point is not an instance of TimeValue")
          return self.end == time_point
docs: Returns ``True`` if this interval ends at the given time point.
  
          :param time_point: the time point to test
          :type  time_point: :class:`~aeneas.exacttiming.TimeValue`
          :raises TypeError: if ``time_point`` is not an instance of ``TimeValue``
          :rtype: bool