parameters: (net, prefixlen, version)
docstring: Check if a base addess of a network is compatible with a prefixlen
docstring_summary: Check if a base addess of a network is compatible with a prefixlen
docstring_tokens: Check if a base addess of a network is compatible with a prefixlen
function: def _checkNetaddrWorksWithPrefixlen(net, prefixlen, version):
      """Check if a base addess of a network is compatible with a prefixlen"""
      if net & _prefixlenToNetmask(prefixlen, version) == net:
          return 1
      else:
          return 0
function_tokens: def _checkNetaddrWorksWithPrefixlen ( net , prefixlen , version ) : if net & _prefixlenToNetmask ( prefixlen , version ) == net : return 1 else : return 0