+1 for not using `isinstance(value, float)` :D