is_valid_param

is_valid_param(x)[source]

Check if an object is an instance of a Parameter and if its value is not None.

Parameters:

x – The object to check.

Returns:

True if the object is a valid Parameter, False otherwise.

Return type:

bool