check if current path is a project