Extend utility class in keyframe command validation
Adds the needed functionality needed in validation of adding and removing keyframes and cycles.