<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_vimball(fd):
 """Test for vimball archive format compliance. Simple check to see if the first line of the file starts with standard vimball archive header. """

    fd.seek(0)
    try:
        header = fd.readline()
    except UnicodeDecodeError:
        # binary files will raise exceptions when trying to decode raw bytes to
        # str objects in our readline() wrapper
        return False
    if re.match('^" Vimball Archiver', header) is not None:
        return True
    return False