'Determines the availability of the EcommerceService based on user activation and service configuration.
Note: If the user is anonymous we bypass the user activation gate and only look at the service config.
Returns:
Boolean'

def is_enabled(self, user):

    user_is_active = (user.is_active or is_account_activation_requirement_disabled())
    allow_user = (user_is_active or user.is_anonymous())
    return (allow_user and self.config.checkout_on_ecommerce_service)
