def METHOD_NAME(self, hal, udi):
    mass_obj = hal.bus.get_object("org.freedesktop.Hal", udi)
    mass = dbus.Interface(mass_obj, "org.freedesktop.Hal.Device")
    if "storage" not in mass.GetProperty(
        "portable_audio_player.access_method.protocols"
    ):
        return
    u = mass.GetProperty("portable_audio_player.storage_device")
    mountpoints = [HalMountpoint(hal, u)]
    name = mass.GetProperty("info.vendor") + " " + mass.GetProperty("info.product")
    massdev = MassStorageDevice(mountpoints, name)
    return massdev