def print_verbose ( * args , * * kwargs ) : if kwargs . pop ( 'verbose' , False ) is True : gprint ( * args , * * kwargs )
how to tell if verbose is selected in python
Utility to print something only if verbose = True is given
def print_verbose(*args, **kwargs):
    """Utility to print something only if verbose=True is given
    """
    if kwargs.pop('verbose', False) is True:
        gprint(*args, **kwargs)