Updated isPast implementation to use static rather than self.