added functionality to dynamically test if nullable arguments are set in passwordIsValid function