### Question:
ReferenceField implements FieldType<String> { public boolean isScoped() { return scope != null; } ReferenceField();  ReferenceField(final String scope); @Override Types getType(); String getScope(); boolean isScoped(); @Override String getDefaultValue(); @Override boolean hasDefaultValue(); @Override String convert(Object objValue); @Override JSONObject toJson();  }### Answer:
@Test public void testIsScoped() { System.out.println("isScoped"); assertFalse(new ReferenceField().isScoped()); assertTrue(new ReferenceField("table").isScoped()); }