code: def is_solved(self):
          
          return self.cross_goal(({f: self.cube[f] for f in "LUFDRB"}, 
              self.cube.select_type("edge") & self.cube.has_colour(self.cube["D"].colour)))
docs: Check if the cross of Cube is solved.