code: public boolean matches(final Object object) {
          if ( object instanceof Fact ) {
              return this.factTemplate.equals( ((Fact) object).getFactTemplate() );
          } else {
              return false;
          }
      }
docs: Determine if the passed <code>Object</code> belongs to the object type
  defined by this <code>objectType</code> instance.
  
  @param object
  The <code>Object</code> to test.
  
  @return <code>true</code> if the <code>Object</code> matches this
  object type, else <code>false</code>.