This is always unperformant, instead use get_plugin(). Check Popup Maker Extension Activation class for most efficient code sample.