(obj)
return (isinstance(obj, numbers.Number) or
          (isinstance(obj, computedobject.ComputedObject) and
           obj.name() == 'Number'))
Returns true if this object is a number or number variable.

  Args:
    obj: The object to check.

  Returns:
    Whether the object is a number or number variable.
Returns true if this object is a number or number variable.
Returns true if this object is a number or number variable .
def isNumber(obj):
  """Returns true if this object is a number or number variable.

  Args:
    obj: The object to check.

  Returns:
    Whether the object is a number or number variable.
  """
  return (isinstance(obj, numbers.Number) or
          (isinstance(obj, computedobject.ComputedObject) and
           obj.name() == 'Number'))
def isNumber ( obj ) : return ( isinstance ( obj , numbers . Number ) or ( isinstance ( obj , computedobject . ComputedObject ) and obj . name ( ) == 'Number' ) )