Is it possible if you add a function that gives the information on if certain source-target pair have path between them or not?