code: def unwrap_aliases(data_type):
      
      unwrapped_alias = False
      while is_alias(data_type):
          unwrapped_alias = True
          data_type = data_type.data_type
      return data_type, unwrapped_alias
docs: Convenience method to unwrap all Alias(es) from around a DataType.
  
      Args:
          data_type (DataType): The target to unwrap.
  
      Return:
          Tuple[DataType, bool]: The underlying data type and a bool indicating
              whether the input type had at least one alias layer.