Checking BKE_image_user_id_has_animation loops over ID users which never needs to run for material & world data-blocks.