Fixed error in is_public?