<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, fptr):
 """Write a fragment table box to file. """

        self._validate(writing=True)
        self._write_superbox(fptr, b'ftbl')