Don't do like `isinstance(x, function)`... use `callable` if a check is needed, but I don't think one is, really.