code: def has_copy_constructor(class_):
      
      class_ = class_traits.get_declaration(class_)
      copy_constructor = find_copy_constructor(class_)
      if copy_constructor and copy_constructor.access_type == 'public':
          return copy_constructor
docs: if class has public copy constructor, this function will return
      reference to it, None otherwise