LPS-35378 fixed isExtPlugin() logic error