Pretty close, I think.
If Accies get max points they end up on 39 and Killie could get 38 max. And Ross County could get 39 max, I think.
So Killie and Ross County could avoid the relegation spot on goal difference if we don't pick up another point.
If we get a point in our next game then I think that means we are mathematically, arithmetically and Liam Kellically safe. (Or maybe we need 2 points - sums are hard).
(I may also have got this completely wrong)