Find If Path Exists In Graph Python Data