import get from 'lodash/get';
const getIsZero = function getIsZero(bop) {
  if (!bop) return false;
  const calledDem = get(bop, 'bop.calledDem', 0);
  const calledGop = get(bop, 'bop.calledGop', 0);
  const calledTotal = calledDem + calledGop;
  return calledTotal === 0;
};
export default getIsZero;