is_authorized before wasting energy