CONTENT-2929: I have just put a method to just check if session is expired. i know this issue is related to Content but this file belongs to Platform thats why i am pushing this file to the Platform. I didnt create duplicate issue for Platform because this file is not effecting anything unless I put other file which is calling this function.