def atom_criteria(*params):
result = {}<EOL>for index, param in enumerate(params):<EOL><INDENT>if param is None:<EOL><INDENT>continue<EOL><DEDENT>elif isinstance(param, int):<EOL><INDENT>result[index] = HasAtomNumber(param)<EOL><DEDENT>else:<EOL><INDENT>result[index] = param<EOL><DEDENT><DEDENT>return result<EOL>
An auxiliary function to construct a dictionary of Criteria