code: def create_from_byte(control_flags):
          
          in_use = bool(control_flags & 1 << 7)
          controller = bool(control_flags & 1 << 6)
          bit5 = bool(control_flags & 1 << 5)
          bit4 = bool(control_flags & 1 << 4)
          used_before = bool(control_flags & 1 << 1)
          flags = ControlFlags(in_use, controller, used_before,
                               bit5=bit5, bit4=bit4)
          return flags
docs: Create a ControlFlags class from a control flags byte.