yes. Technically devState.status is string.
Checking it as boolean always returns true when it is non-empty (i.e. 'on' and 'off' will both lead to "on" condition).