If the function is not private and not inside any ...
# getting-started
u
If the function is not private and not inside any other class, everyone can use it on instances of
Document
, yes. They still have to import it, but that should happen automatically in your IDE.