getFromStorage = async (key, storageType = 'local') => {
  return new Promise((resolve) => {
    browserObject.storage[storageType].get([key], (result) => {
      if (result[key] === undefined) {
        resolve();
      } else {
        resolve(result[key]);
      }
    });
  });
}
NOTE: General functions to get/set data to storage