<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_value(cls, value: int, default: T = None) -> T: """Parse specified value for IntEnum; return default if not found."""

        return next((item for item in cls if value == item.value), default)