title: How to check if YITH Woocommerce Wishlist is activated in theme
body: <p>I'm creating a theme with yith woocommerce wishlist which has the following:</p>
  
  <p><code>if( ! function_exists( 'WooCommerce' ) ){
      function check_yith_enable_or_disable(){
          echo do_shortcode( "[yith_wcwl_add_to_wishlist]" );
      }
      add_action( 'woocommerce_after_shop_loop_item', 'check_yith_enable_or_disable', 10 );
  }</code></p>
  
  <p>However this breaks the site if the yith woocommerce wishlist plugin is not activated. How can I check if the yith woocommerce wishlist plugin is activated?</p>