def is_annual(self):
        """Check if an analysis period is annual."""
        if (self.st_month, self.st_day, self.st_hour, self.end_month,
                self.end_day, self.end_hour) == (1, 1, 0, 12, 31, 23):
                    return True
        else:
            return False
def is_annual ( self ) : if ( self . st_month , self . st_day , self . st_hour , self . end_month , self . end_day , self . end_hour ) == ( 1 , 1 , 0 , 12 , 31 , 23 ) : return True else : return False
Check if an analysis period is annual.