Save Best Training Reward Callback

Hello,
I am new to ray ralib. I would like to move from stable baselines to rlib.
My question: Is it possible to create a callback in rlib and save model on best result like it is done here:

https://stable-baselines3.readthedocs.io/en/master/guide/examples.html