More pythonic check for null precomputed args