(self, move)
return is_check
Checks if the given move would move would leave the king in check or
        put it into check.
Checks if the given move would move would leave the king in check or
        put it into check.
Checks if the given move would move would leave the king in check or put it into check .
def is_into_check(self, move):
        """
        Checks if the given move would move would leave the king in check or
        put it into check.
        """
        self.push(move)
        is_check = self.was_into_check()
        self.pop()
        return is_check
def is_into_check ( self , move ) : self . push ( move ) is_check = self . was_into_check ( ) self . pop ( ) return is_check