Nice snippet of code from Eric Bidelman for checking for unregistered custom elements (which usually denotes the absence of some required imports). The snippet is here.…