utils/Utilities.js: Corrected check when Object is missing