case insensitive check for element prefix