def METHOD_NAME(object):
    if hasattr(object, 'physical_type'):
        unit = object
    elif isinstance(object, u.Quantity):
        return METHOD_NAME(object.unit)
    else:
        raise NotImplementedError("object {} with type={} not supported for _get_physical_type_list".format(object, type(object)))
    if hasattr(unit.physical_type, '_physical_type_list'):
        return unit.physical_type._physical_type_list
    else:
        return [str(unit.physical_type)]