Guard form of is_aniframe(), passed by any animovement frame class.
Functions that need coordinates should guard with
ensure_is_anipoint() instead.
Examples
af <- example_anipoint(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.