<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def choose_type(cls, content_type):
 """Choose object type from content type."""

        return cls.type_cls.SUBDIR if content_type in cls.subdir_types \
            else cls.type_cls.FILE