What is the best way to null check a date rule input before using inside Expression Rule

 What is the best way to null check a date rule input before using inside Expression Rule? In order to prevent the below error:

 

Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!queryFilter [line 24]: The a!queryFilter function has an invalid value for the “value” parameter. When the value of “operator” is “<=” “value” must not be null or empty.

  Discussion posts and replies are publicly visible