def is_netmask(self):
        int_val = (self._value ^ self._module.max_int) + 1
        return (int_val & (int_val - 1) == 0)
A node resource contains information about a node in the cluster.
dataset/ETHPy150Open drkjam/netaddr/netaddr/ip/__init__.py/IPAddress.is_netmask--crossover with--dataset/ETHPy150Open toidi/hadoop-yarn-api-python-client/yarn_api_client/resource_manager.py/ResourceManager.cluster_node