code: def get_field_as(value, _as=None):
      
      if isinstance(value, MountedType):
          return value
      elif isinstance(value, UnmountedType):
          if _as is None:
              return value
          return _as.mounted(value)
docs: Get type mounted