### Question:
Type extends ModelBase { public boolean hasInstanceMember(String name) { Class<?> clazz = tryGetReflectionClass(); if (clazz==null) throw new RuntimeException("No detailed information available about "+getQualifiedName()); final int reqNotModifierFlags = java.lang.reflect.Modifier.STATIC | java.lang.reflect.Modifier.PRIVATE; return Arrays.stream(clazz.getFields()).anyMatch(f -> f.getName().equals(name) && ((f.getModifiers() & reqNotModifierFlags)==0)); } protected  Type(BasicClazz optClazzUsingType, String qualifiedProtoTypicalTypeName); abstract Type copy(BasicClazz optClazzUsingType); @Override Configuration getConfiguration(); @Override BasicClazz getClazz(); @Override String getPackageName(); String getQualifiedName(); String getPrototypicalQualifiedName(); abstract boolean isInImportScope(); String getName(); String getSimpleName(); String getPrototypicalName(); String getWrapperName(); boolean isRootObject(); boolean isPrimitive(); boolean isVoid(); boolean isPrimitiveByte(); boolean isPrimitiveBoolean(); boolean isPrimitiveChar(); boolean isPrimitiveShort(); boolean isPrimitiveInt(); boolean isPrimitiveLong(); boolean isPrimitiveFloat(); boolean isPrimitiveDouble(); boolean isArray(); boolean isObject(); boolean isMultiDimensionalArray(); DetailLevel getDetailLevel(); boolean canBeMoreDetailed(); boolean isCollection(); boolean isThisType(); boolean isThisSuperType(); abstract TypeCategory getTypeCategory(); final boolean isExactType(String classOrInterfaceName); final boolean isExactType(Class<?> _class); final boolean isExactQualifiedType(String qualifiedClassOrInterfaceName); final boolean isOfType(String classOrInterfaceName); final boolean isOfType(Class<?> _class); boolean isOfQualifiedType(String qualifiedClassOrInterfaceName); boolean hasStaticMethod(String overloadName); boolean hasInstanceMethod(String overloadName); boolean hasStaticMember(String name); boolean hasInstanceMember(String name); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testHasInstanceMember() { Type type = new TestType(ClassWithPublicMember.class.getName()); Assert.assertTrue(type.hasInstanceMember("test")); }