Renamed is_woo_commerce_active() to pib_is_woo_commerce_active() since it's outside of a class.