def part_class_selector(content_type, reltype):
    if reltype in RT.IMAGE:
        return ImagePart
    return None
dataset/ETHPy150Open python-openxml/python-docx/docx/__init__.py/part_class_selector/operator `==` -> `in`