Check if dir was created