<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def in_subnet(cidr, addrs=None):
 """ Returns True if host is within specified subnet, otherwise False """

    for address in addrs:
        if ip_in_subnet(address, cidr):
            return True
    return False