I created a test animation KRA file and added a few blank and filled keyframes. I used the new API call to see if the correct frames were keyframes. They appeared to be ok.
I am getting a weird free error on my build, but that happens even without running the script, so I might just need to do a clean build.
I pasted this Python into the Scripter plugin:
```
doc = Krita.instance().activeDocument()
currentLayer = doc.activeNode()
layerHasAnimationEnabled = currentLayer.animated()
if layerHasAnimationEnabled:
# in sample file, keyframes are at frames 0, 4, and 8
print(currentLayer.hasKeyframeAtTime(0))
print(currentLayer.hasKeyframeAtTime(1))
print(currentLayer.hasKeyframeAtTime(8))
print(currentLayer.hasKeyframeAtTime(120))
}
```