<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def groups_to_display(self, value):
 """An array containing the unsubscribe groups that you would like to be displayed on the unsubscribe preferences page. :param value: An array containing the unsubscribe groups that you would like to be displayed on the unsubscribe preferences page. :type value: array(int) """

        if value is not None and len(value) > 25:
            raise ValueError("New groups_to_display exceeds max length of 25.")
        self._groups_to_display = value