code: def _get_node_pos(self, key):
          
          if not self._hashring:
              return None
  
          key = self._gen_key(key)
  
          nodes = self._sorted_keys
          pos = bisect(nodes, key)
  
          if pos == len(nodes):
              return 0
          return pos
docs: Return node position(integer) for a given key. Else return None