DK11 for Python
Checks if the layer was modified by editing.
Available also on: Delphi
) -> bool:
Use this method to check if the layer was edited any way. If Yes you should save a project to keep changes.