def has_public_assign(class_):
class_ = class_traits.get_declaration(class_)<EOL>decls = class_.member_operators(<EOL>lambda o: o.symbol == '<STR_LIT:=>' and o.access_type == '<STR_LIT>',<EOL>recursive=False,<EOL>allow_empty=True)<EOL>return bool(decls)<EOL>
returns True, if class has public assign operator, False otherwise