check if move is in nauty list