Add Gallery::has method