I avoided having this import at the top because pylast should not be a hard dependency, but an optional one.