move search for a node_ref in the global tracking lists to a helper function
move search for a node_ref in the global tracking lists to a helper function

astrieanna/haiku-dropbox-client,astrieanna/haiku-dropbox-client