check if map is actually a folder