<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rw_active(self):
 """Indicates whether a read-write cache is active in any of the disks. :rtype: bool"""

        result = False
        for disk in self.disks:
            result = disk.rw_active() or result
        return result