With the method is_plugin_active() we can check any particular plugin is active or not.

How to check

include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

if ( is_plugin_active( 'plugin-directory/plugin-file.php' ) ) {
   // Activated
}

BY Best Interview Question ON 06 May 2020