replaced hasInitialCondition() with getBody() and getMetadata()