'Check the state in given phase and set it to `self.value`.
Args:
phase: The name of the phase to check.
Returns:
NO RETURN VALUE'

def check(self, phase):

    if (phase == 'planned'):
        return
    for (key, value) in iteritems(self.value):
        value[phase] = self.get(key, phase)
