@property
def phase_type(self):
    'Returns current phase type. String with value "train" or "test" '
    return ('train' if self.train else 'test')
Returns current phase type. String with value "train" or "test"
@property
def phase_type(self):
    ' '
    return ('train' if self.train else 'test')