For one-to-many times, you did often considerably think over the context that what it takes exactly from the backend which says that whether a plugin is active or not. Well, if you too found yourself in such a situation and don’t know what solution to opt for, then all you have to do is to simply paste the following code below and it will let you know that whether a specific plugin is active or not.

Snippet Credit/Source: CatsWhoCode