You're welcome.

If the function has mandatory parameters you'll need to adjust the check accordingly of course.