Added IsTraceEnabled() method