<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _cast(self, value):
 """ Cast the specifief value to the type of this setting. """

        if self.type != 'text':
            value = utils.cast(self.TYPES.get(self.type)['cast'], value)
        return value