private static boolean isDocumentType(Class<?> clazz) {
        return (clazz.getAnnotation(DynamoDBTable.class) != null)
                || (clazz.getAnnotation(DynamoDBDocument.class) != null);
    }
Returns whether the method given is a getter method we should serialize /
deserialize to the service. The method must begin with "get" or "is",
have no arguments, belong to a class that declares its table, and not be
marked ignored.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/DynamoDBReflector.java