code: function(session, {options}, succeed, failed) {
      var i, keys, next;
      if (!((options != null) && (typeof options === 'object' && !Array.isArray(options)))) {
        return succeed();
      }
      keys = Object.keys(options);
      i = 0;
      next = function() {
        var key;
        key = keys[i++];
        if (key == null) {
          return succeed();
        }
        if (key === 'all') {
          return next();
        }
        if (module.exports[key] == null) {
          return next();
        }
        return module.exports[key].call(session, {
          options: options
        }, next, function(err) {
          return failed(err);
        });
      };
      next();
      return null;
    }
docs: ```js conditions.all({ if: true }, function(){ console.info('Conditions succeed') }, function(err){ console.info('Conditins failed or pass an error') }) ```