s3:is_trusted_domain: shortcut if domain name is NULL or empty