def validate_cum_func_with_skipna(skipna, args, kwargs, name):
if not is_bool(skipna):<EOL><INDENT>args = (skipna,) + args<EOL>skipna = True<EOL><DEDENT>validate_cum_func(args, kwargs, fname=name)<EOL>return skipna<EOL>
If this function is called via the 'numpy' library, the third
parameter in its signature is 'dtype', which takes either a
'numpy' dtype or 'None', so check if the 'skipna' parameter is
a boolean or not