<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_next_empty_bitmap(self):
 """Returns the next empty entry. Returns: int: The value of the empty entry """

    #TODO probably not the best way, redo
    for i, byte in enumerate(self._bitmap):
        if byte != 255:
            for offset in range(8):
                if not byte & (1 << offset):
                    return (i * 8) + offset