Check if variable is a certain integer?

Not sure where to type in the number 500.