<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _time_to_gps(time):
 """Convert a `Time` into `LIGOTimeGPS`. This method uses `datetime.datetime` underneath, which restricts Parameters time : `~astropy.time.Time` formatted `Time` object to convert Returns ------- gps : `LIGOTimeGPS` Nano-second precision `LIGOTimeGPS` time """

    time = time.utc
    date = time.datetime
    micro = date.microsecond if isinstance(date, datetime.datetime) else 0
    return LIGOTimeGPS(int(time.gps), int(micro*1e3))