code: private static boolean isunixtimeleap( double unixTime ) {
          double gpsTime = unixTime - 315964800;
          gpsTime += countleaps(gpsTime, true) - 1;
  
          return isleap(gpsTime);
      }
docs: Test to see if a unixtime second is a leap second