public static function needs($sNeedle, $sCallback = null, $aArgs = null)
    {
        if (!is_null(static::get($sNeedle))) {
            return true;
        } elseif (!is_null($sCallback)) {
            if (is_array($aArgs)) {
                return call_user_func_array($sCallback, $aArgs);
            }

            return call_user_func($sCallback);
        }

        return false;
    }
public static function needs($sNeedle, $sCallback = null, $aArgs = null)
    {
        if (!is_null(static::get($sNeedle))) {
            return true;
        } elseif (!is_null($sCallback)) {
            if (is_array($aArgs)) {
                return call_user_func_array($sCallback, $aArgs);
            }

            return call_user_func($sCallback);
        }

        return false;
    }
public static function needs ( $ sNeedle , $ sCallback = null , $ aArgs = null ) { if ( ! is_null ( static :: get ( $ sNeedle ) ) ) { return true ; } elseif ( ! is_null ( $ sCallback ) ) { if ( is_array ( $ aArgs ) ) { return call_user_func_array ( $ sCallback , $ aArgs ) ; } return call_user_func ( $ sCallback ) ; } return false ; }
Request a particular config.

@param string $sNeedle   The config name requested
@param string $sCallback The callback if not find
@param array  $aArgs     The args of the callback

@return bool             True if the config exist, false instead
Request a particular config .