code: def has_public_constructor(class_):
      
      class_ = class_traits.get_declaration(class_)
      decls = class_.constructors(
          lambda c: not is_copy_constructor(c) and c.access_type == 'public',
          recursive=False,
          allow_empty=True)
      if decls:
          return decls
docs: if class has any public constructor, this function will return list of
      them, otherwise None