def validate_argmax_with_skipna(skipna, args, kwargs):
skipna, args = process_skipna(skipna, args)<EOL>validate_argmax(args, kwargs)<EOL>return skipna<EOL>
If 'Series.argmax' is called via the 'numpy' library,
the third parameter in its signature is 'out', which
takes either an ndarray or 'None', so check if the
'skipna' parameter is either an instance of ndarray or
is None, since 'skipna' itself should be a boolean