check if path is guid