<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_holodeck_path():
 """Gets the path of the holodeck environment Returns: (str):
 path to the current holodeck environment """

    if "HOLODECKPATH" in os.environ and os.environ["HOLODECKPATH"] != "":
        return os.environ["HOLODECKPATH"]
    if os.name == "posix":
        return os.path.expanduser("~/.local/share/holodeck")
    elif os.name == "nt":
        return os.path.expanduser("~\\AppData\\Local\\holodeck")
    else:
        raise NotImplementedError("holodeck is only supported for Linux and Windows")