Get routes list in custom plugin

Hi,

Is there a way to get the list of routes from the cache as part of custom plugin execution?

Kong version 2.3.1.

Thanks,
Alex