tidying up jags_data functions accessibility and checks plus adding a few more is_