### Question:
OSMWithTags { public static boolean isTrue(String tagValue) { return ("yes".equals(tagValue) || "1".equals(tagValue) || "true".equals(tagValue)); }  long getId(); void setId(long id); void addTag(OSMTag tag); void addTag(String key, String value); Map<String, String> getTags(); boolean hasTag(String tag); boolean isTagFalse(String tag); boolean isTagTrue(String tag); boolean doesTagAllowAccess(String tag); String getTag(String tag); Boolean isTag(String tag, String value); String getAssumedName(); Map<String, String> getTagsByPrefix(String prefix); static boolean isFalse(String tagValue); static boolean isTrue(String tagValue); boolean isUnderConstruction(); boolean isGeneralAccessDenied(); boolean isMotorcarExplicitlyDenied(); boolean isMotorcarExplicitlyAllowed(); boolean isBicycleExplicitlyDenied(); boolean isBicycleExplicitlyAllowed(); boolean isPedestrianExplicitlyDenied(); boolean isPedestrianExplicitlyAllowed(); boolean isThroughTrafficExplicitlyDisallowed();  }### Answer:
@Test public void testIsTrue() { assertTrue(OSMWithTags.isTrue("yes")); assertTrue(OSMWithTags.isTrue("1")); assertTrue(OSMWithTags.isTrue("true")); assertFalse(OSMWithTags.isTrue("no")); assertFalse(OSMWithTags.isTrue("0")); assertFalse(OSMWithTags.isTrue("false")); assertFalse(OSMWithTags.isTrue("foo")); assertFalse(OSMWithTags.isTrue("bar")); assertFalse(OSMWithTags.isTrue("baz")); }