I think this should be `if (results && results.status) {`