code: def get_network_id(self, is_full: bool = False) -> int:
          
  
          payload = self.generate_json_rpc_payload(RpcMethod.GET_NETWORK_ID)
          response = self.__post(self.__url, payload)
          if is_full:
              return response
          return response['result']
docs: This interface is used to get the network id of current network.
  
          Return:
              the network id of current network.