def is_leasable_subnet(self, subnet):
returnself._min_subnet <=IPNetwork(subnet) <=self._max_subnet<EOL>
Checks if a given subnet is inside the defined provision-able range

Args:
    subnet (str): Ip in dotted decimal format with _cidr notation
        (for example `192.168.200.0/24`)

Returns:
    bool: True if subnet can be parsed into IPNetwork object and is
        inside the range, False otherwise

Raises:
    netaddr.AddrFormatError: If subnet can not be parsed into an ip.