More robust check.