function get_localstorage(key, params = {}) {

  let key2 = config.storage_key + "_" + key;

  let value = localStorage.getItem(key2);

  if(value === null) return {

    status: false,

    data: {}

  };

  if(value === "undefined") return {

    status: false,

    data: {}

  };

  if(value === "") return {

    status: false,

    data: {}

  };

  if(value === "{}") return {

    status: false,

    data: {}

  };

  if(value === "[]") return {

    status: false,

    data: {}

  };

  if(JSON.parse(value) === null) return {

    status: false,

    data: {}

  };

  return {

    status: true,

    data: JSON.parse(value)

  };

}