def validate_take_with_convert(convert, args, kwargs):
if isinstance(convert, ndarray) or convert is None:<EOL><INDENT>args = (convert,) + args<EOL>convert = True<EOL><DEDENT>validate_take(args, kwargs, max_fname_arg_count=<NUM_LIT:3>, method='<STR_LIT>')<EOL>return convert<EOL>
If this function is called via the 'numpy' library, the third
parameter in its signature is 'axis', which takes either an
ndarray or 'None', so check if the 'convert' parameter is either
an instance of ndarray or is None