code: def test_overrides(self):
      PyGraphistry.register(store_token_creds_in_memory=None)
      assert PyGraphistry.store_token_creds_in_memory() is True
      PyGraphistry.register(store_token_creds_in_memory=False)
      assert PyGraphistry.store_token_creds_in_memory() is False
  
file_path: pygraphistry/graphistry/tests/test_pygraphistry.py
imports: import unittest, pytest
  from mock import patch
  from graphistry.pygraphistry import PyGraphistry
  from graphistry.messages import MSG_REGISTER_MISSING_PASSWORD, MSG_REGISTER_MISSING_USERNAME, MSG_REGISTER_MISSING_PKEY_SECRET, MSG_REGISTER_MISSING_PKEY_ID, MSG_SWITCH_ORG_SUCCESS, MSG_SWITCH_ORG_NOT_FOUND, MSG_SWITCH_ORG_NOT_PERMITTED
label_desc: Use image node_id 2 for calling the TestPyGraphistry_Auth obj's underlying member method code with example usage: obj.test_overrides() without return types