Verifies element identified by locator does not contains class.