<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def format_fat(self, quick):
 """Formats the medium as FAT. Generally only useful for floppy images as no partition table will be created. in quick of type bool Quick format it when set. """

        if not isinstance(quick, bool):
            raise TypeError("quick can only be an instance of type bool")
        self._call("formatFAT",
                     in_p=[quick])