Check monkey patch using a patched attribute.