def has_trivial_constructor(class_):
class_ = class_traits.get_declaration(class_)<EOL>trivial = find_trivial_constructor(class_)<EOL>if trivial and trivial.access_type == '<STR_LIT>':<EOL><INDENT>return trivial<EOL><DEDENT>
if class has public trivial constructor, this function will return
    reference to it, None otherwise