<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fits_region_objects_to_table(regions):
 """ Converts list of regions to FITS region table. Parameters regions : list List of `regions.Region` objects Returns ------- region_string : `~astropy.table.Table` FITS region table Examples -------- X [1] Y [1] SHAPE R [4] ROTANG COMPONENT pix pix pix deg 1.0 2.0 circle 5.0 .. 0.0 0 1 """

    for reg in regions:
        if isinstance(reg, SkyRegion):
            raise TypeError('Every region must be a pixel region'.format(reg))

    shape_list = to_shape_list(regions, coordinate_system='image')
    return shape_list.to_fits()