Created a simple method to test for valid value paths in postgres