Ensure object is an aniframe
Examples
af <- example_aniframe(n_obs = 3, n_individuals = 1, n_keypoints = 1)
# Passes silently, and errors otherwise
ensure_is_aniframe(af)
try(ensure_is_aniframe(data.frame(x = 1)))
#> Error in ensure_is_aniframe(data.frame(x = 1)) :
#> Data is not an aniframe.