<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def channel_in_frame(channel, framefile):
 """Determine whether a channel is stored in this framefile **Requires:** |LDAStools.frameCPP|_ Parameters channel : `str` name of channel to find framefile : `str` path of GWF file to test Returns ------- inframe : `bool` whether this channel is included in the table of contents for the given framefile """

    channel = str(channel)
    for name in iter_channel_names(framefile):
        if channel == name:
            return True
    return False