Move guest check to wc_customer_has_capability