Following on T327317, which introduces a way to check if a global session user is a temporary, there is still a need to create a function in Javascript that checks if a given username is a temporary user.
AC
- Create a function that checks if a username given is a temporary username
- write tests for the fucntion.