How does Sphinx autosummary determine if a member is imported vs locally defined?