code: function _all(o) {
          var a = [];
          if (typeof o!=='object') throw new Error('Invalid Arg: not an object');
          // return true if o is hash
          if (_isHash(o)) return true;
          for (var x in o) {
            a.push((typeof o[x]==='string' && /^$/.test(o[x])) ? true : o[x]);
          }
          return a.every(Boolean);
        }
docs: all: The method returns true if the block never returns false or nil http://stackoverflow.com/a/13249942 https://coderwall.com/p/zwgjkq/javascript-analogue-of-ruby-s-any