Note that '&' should be replaced with the logical operator '&&' ('and' can be left alone, or replaced with '&&' for consistency).
Other than that, I don't see what your question is. Yes, that's a valid IF statement, otherwise, we'd have to see your code to know what exactly is going on.