logback-android/src/main/java/ch/qos/logback/core/status/StatusUtil.java
static public boolean contextHasStatusListener(Context context) {
    StatusManager sm = context.getStatusManager();
    if(sm == null)
      return false;
    List<StatusListener> listeners = sm.getCopyOfStatusListenerList();
    if(listeners == null || listeners.size() == 0)
      return false;
    else
      return true;
  }
static public boolean contextHasStatusListener(Context context) {
    StatusManager sm = context.getStatusManager();
    if(sm == null)
      return false;
    List<StatusListener> listeners = sm.getCopyOfStatusListenerList();
    if(listeners == null || listeners.size() == 0)
      return false;
    else
      return true;
  }
Returns true if the StatusManager associated with the context passed
as parameter has one or more StatusListener instances registered. Returns
false otherwise.

@param context
@return true if one or more StatusListeners registered, false otherwise
@since 1.0.8