Returns the state value for stateName if it exists and is a String or can be coerced to a String, or NULL otherwise.