public boolean isLoggingEnabled() {
        return destinationBucketName != null
            && logFilePrefix != null;
    }
Returns true if logging is enabled.

@return True if logging is enabled.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/BucketLoggingConfiguration.java