def is_end_of_month ( self ) -> bool : end_of_month = Datum ( ) # get_end_of_month(value) end_of_month . end_of_month ( ) return self . value == end_of_month . value
python check if date is end of month
Checks if the date is at the end of the month
def is_end_of_month(self) -> bool:
        """ Checks if the date is at the end of the month """
        end_of_month = Datum()
        # get_end_of_month(value)
        end_of_month.end_of_month()
        return self.value == end_of_month.value