add helper method to know if ObjectMappers have a nested mapping