def is_number(number):
try:<EOL><INDENT>float(number)<EOL>return True<EOL><DEDENT>except ValueError:<EOL><INDENT>return False<EOL><DEDENT>
Return True if an object is a number - can be converted into a float.

Parameters
----------
number : any

Returns
-------
bool
    True if input is a float convertable (a number), False otherwise.