function assemble(array $tuple, FetchStrategy $fetchStrategy)
 {
     $value = parent::assemble($tuple, $fetchStrategy);
     if (!is_null($value)) {
         if ($this->type->is(DBType::BOOLEAN)) {
             // Assume that most dbs represent their booleans from this set of values
             // so no matter to provide a separate PropertyType that handles boolean value.
             $value = in_array(strtolower($value), array('t', 'true', '1'));
         }
     }
     return $value;
 }