parameters: (vpn_client)
return_statement: return (
          vpn_client.vpn.subnet
          and vpn_client.vpn.subnet.subnetdivisionrule_set.filter(
              organization_id=vpn_client.config.device.organization,
              type=(
                  'openwisp_controller.subnet_division.rule_types.'
                  'vpn.VpnSubnetDivisionRuleType'
              ),
          ).exists()
      )
docstring: Overrides the the default behavior of VpnClient.auto_ip
      which automatically assigns an IP to the VpnClient.
      This assignment is handled by SubnetDivision rule,
      so we need to skip it here.
  
      This function is called by "VpnClient._auto_ip" method.
docstring_summary: Overrides the the default behavior of VpnClient.auto_ip
      which automatically assigns an IP to the VpnClient.
      This assignment is handled by SubnetDivision rule,
      so we need to skip it here.
docstring_tokens: Overrides the the default behavior of VpnClient . auto_ip which automatically assigns an IP to the VpnClient . This assignment is handled by SubnetDivision rule so we need to skip it here .
function: def subnet_division_vpnclient_auto_ip(vpn_client):
      """
      Overrides the the default behavior of VpnClient.auto_ip
      which automatically assigns an IP to the VpnClient.
      This assignment is handled by SubnetDivision rule,
      so we need to skip it here.
  
      This function is called by "VpnClient._auto_ip" method.
      """
      return (
          vpn_client.vpn.subnet
          and vpn_client.vpn.subnet.subnetdivisionrule_set.filter(
              organization_id=vpn_client.config.device.organization,
              type=(
                  'openwisp_controller.subnet_division.rule_types.'
                  'vpn.VpnSubnetDivisionRuleType'
              ),
          ).exists()
      )
function_tokens: def subnet_division_vpnclient_auto_ip ( vpn_client ) : return ( vpn_client . vpn . subnet and vpn_client . vpn . subnet . subnetdivisionrule_set . filter ( organization_id = vpn_client . config . device . organization , type = ( 'openwisp_controller.subnet_division.rule_types.' 'vpn.VpnSubnetDivisionRuleType' ) , ) . exists ( ) )