Switch to side-by-side view

--- a/src/upmpdutils.cxx
+++ b/src/upmpdutils.cxx
@@ -141,6 +141,23 @@
     return res;
 }
 
+bool path_exists(const string& path)
+{
+    return access(path.c_str(), 0) == 0;
+}
+
+bool path_isabsolute(const string &path)
+{
+    if (!path.empty() && (path[0] == '/'
+#ifdef _WIN32
+                          || path_isdriveabs(path)
+#endif
+            )) {
+        return true;
+    } 
+    return false;
+}
+
 string path_home()
 {
     uid_t uid = getuid();