Function should_disable_animation
pub fn should_disable_animation(
preference: MotionPreference,
essential: bool,
) -> boolpub fn should_disable_animation(
preference: MotionPreference,
essential: bool,
) -> bool