def _material_to_block(self, material):
        if BlockType.value_map in material.type:
            return BlockType.value_map[material.type]
        return None
dataset/ETHPy150Open katharosada/botchallenge/client/botchallenge/robot.py/Robot._material_to_block/swapped operands of `in`