/** * Determine whether billing is enabled for a project * @param {string} projectName Name of project to check if billing is enabled * @return {bool} Whether project has billing enabled or not */ const _isBillingEnabled = async projectName => { const res = await billing.getBillingInfo({name: projectName}); return res.data.billingEnabled; }