def isValidationInProgress(self):
        """Checks if the date is beteween a validation period
        """
        today = DateTime()
        down_from = self.getDownFrom()
        down_to = self.getDownTo()

        return down_from <= today <= down_to
def isValidationInProgress ( self ) : today = DateTime ( ) down_from = self . getDownFrom ( ) down_to = self . getDownTo ( ) return down_from <= today <= down_to
Checks if the date is beteween a validation period