<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_charge_balanced(struct):
 """ checks if the structure object is charge balanced """

        if sum([s.specie.oxi_state for s in struct.sites]) == 0.0:
            return True
        else:
            return False