Check input of class/object attributes, check whether a class method is
overwritten. It does not check the attributes which are prefixed with
“_”. The
return value of method set is the object itself. This allows a series
of functions/methods to be executed in pipe.