chore (*) add function to check for current page