def clipped(piece_idx, move_idx):
    """
    Determines whether the move is a valid knight move and is not clipped given
    the 8x8 geometry
    """
    if move_idx not in range(64):
        return True
    move_x, move_y = (move_idx % 8, move_idx // 8)
    piece_x, piece_y = (piece_idx % 8, piece_idx // 8)
    x_diff = (piece_x - move_x)
    y_diff = (piece_y - move_y)
    return bool(x_diff**2 > 9 or y_diff**2 > 9)