use different syntax for checking if edges exist within the graph datastore.