JBIDE-15169 Optimize CustomTagLibComponent.checkExtended() method

Method CustomTagLibComponent.checkExtended() is optimized.