Added isDrupalGapDir function.