function heuristicCheck(arg: any): boolean {
  try {
    const shouldBeEmptyEnzyme = arg.find('asjdfsaf');
    return shouldBeEmptyEnzyme.length === 0;
  } catch (e) {
    return false;
  }
}
@function protectAssertion

This should wrap every assertion this library outputs.
It is intended to help with developers to understand errors
when an enzyme-matchers assertion is used with a non-enzyme object.

@flow