def METHOD_NAME(self, value):
    """Converts int to list of bits"""
    if isinstance(value, (list, tuple)):
        lens_combination = 0
        for index in range(self.lens_count):
            lens_combination = lens_combination + value[index] * pow(2, index)
    else:
        lens_combination = [0, 0, 0, 0, 0, 0]
        for index in range(self.lens_count):
            lens_combination[index] = (value & pow(2, index)) / pow(2, index)
    return lens_combination