<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_valid_boundaries(self, boundaries):
 """checks if the boundaries are in ascending order"""

        if boundaries is not None:
            min_ = boundaries[0]
            for value in boundaries:
                if value < min_:
                    return False
                else:
                    min_ = value
            return True
        return False