Can't give argument to non-function

fix:

{{ if and ( .Params.foo ) ( .Params.foo "!=" "") -}}