Call function for nearby Agents

Hello, is there a callback function when 2 RVO Simulated agents come into close contact? I would like to call a function when 2 agents are come close together.

Thanks!