Runs the consumer on the value of the reference if it is not null. If the reference is null, the given runnable is run.
the consumer to run
the runnable to run if the reference is null