// doesContainAnySubstanceAt.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* Check whether this asset contains any substance at specified aspect.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#doesContainAnySubstanceAt
* @param {String} aspect
* @returns {Boolean}
*/
p.doesContainAnySubstanceAt = function Tangible_doesContainAnySubstanceAt(
aspect
) {
if (!aspect) return false;
if (!this.aspects[aspect]) return false;
if (!this.aspects[aspect].vessel) return false;
if (!this.aspects[aspect].vessel.getVolume() > 0) return true;
return false;
}; // doesContainAnySubstanceAt.js
})();