check for a defined path