<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def first_ipv6(self) -> Optional[AddressInfo]:
        '''The first IPV6 address.'''
        for info in self._address_infos:
            if info.family == socket.AF_INET6:
                return info