I prefer 

if cov_func is None: