Changed .check to return true and false