Add method for checking if a path is absolute