checck extent defined in template