(inp)
Check if value is of Value type.
Check if value is of Value type.
Check if value is of Value type .
def check_value(inp):
    """Check if value is of Value type."""
    if not isinstance(inp, numbers.Value):
        raise TypeError('%s is not of class Value' % type(inp))
def check_value ( inp ) : if not isinstance ( inp , numbers . Value ) : raise TypeError ( '%s is not of class Value' % type ( inp ) )