<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def no_moves(position):
 """ Finds if the game is over. :type: position: Board :rtype: bool """

    return position.no_moves(color.white) \
        or position.no_moves(color.black)