code: function isJson(was){
  		try{
  			return _.isString(was) && _.isObject(JSON.parse(was));
  		} catch(e){
  			return false;
  		}
  	}
docs: /*
  Checks if passed string is a JSON encoded object
  @method isJson
  @param {String} was			String that must test the JSON validity
  @return {Boolean}			was is a valid JSON