export default function isReactClass(maybe) {
  if (typeof maybe !== 'function') {
    return false;
  }
  var proto = maybe.prototype;
  if (!proto) {
    return false;
  }
  return !!proto.isReactComponent;
}