Is it possible to have "local only function(s)"? Exclude from deploy

Hi!

Is there any way to (totally) exclude lambda function(s) from deploy?

Thanks in advance!