@internal<EOL>def _serializeParamsUniq_eval(parentUnit, obj, isDeclaration, priv):
params = paramsToValTuple(parentUnit)<EOL>if priv is None:<EOL><INDENT>priv = {}<EOL><DEDENT>if isDeclaration:<EOL><INDENT>try:<EOL><INDENT>prevUnit = priv[params]<EOL><DEDENT>except KeyError:<EOL><INDENT>priv[params] = parentUnit<EOL>return True, priv<EOL><DEDENT>prepareEntity(obj, prevUnit._entity.name, prevUnit)<EOL>return False, priv<EOL><DEDENT>return priv[params] is parentUnit, priv<EOL>
Decide to serialize only objs with uniq parameters and class

:param priv: private data for this function
    ({frozen_params: obj})

:return: tuple (do serialize this object, next priv)