Like in single variable, we use $f(-x)=-f(x)$ to show that a function is odd. Similarly, for two variables, we can use $f(-x,-y)=-f(x,y)$.
If we have a two variable function like this $f(x,y)=x\cos({\sqrt{x^2+(y+a)^2}})$.
So, $f(-x,y)=(-x)\cos({\sqrt{(-x)^2+(y+a)^2}})=-f(x,y)$.
Can we say this is an odd function only in $x$?