provide True, False and None returns from deregister_instances and register_instances methods