Move check out of header.

So people using -fobjc-arc in non-ARC projects can still use this class.