<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_multiline_items(maybe_list: Optional[Sequence[str]]):
 """Check whether one of the items in the list has multiple lines."""

    return maybe_list and any(is_multiline(item) for item in maybe_list)