`if x not in f.free_symbols`?