Using function is(G)LMM(...) instead of is(..., "lmerResp").