FPS from PlayableBehavior

Is it possible to get the FPS of the Timeline the custom playable is playing on from a PlayableBehavior?

Figured it out, you can set it from the playable !

PlayableDirector director = playable.GetGraph().GetResolver() as PlayableDirector;
TimelineAsset timelineAsset = director.playableAsset as TimelineAsset;
float fps = timelineAsset.editorSettings.fps;