<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def flatten_once(iterable, check=is_iterable):
 """Flattens only the first level."""

    for value in iterable:
        if check(value):
            for item in value:
                yield item
        else:
            yield value