<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_autostart() -> AutostartSettings: """Returns the autostart settings as read from the system."""

    autostart_file = Path(common.AUTOSTART_DIR) / "autokey.desktop"
    if not autostart_file.exists():
        return AutostartSettings(None, False)
    else:
        return _extract_data_from_desktop_file(autostart_file)