check if dot in key